oggdemux: Fix racy decode error

Sometimes the seek to the end of file to determine the duration would trigger a
reset of the source pads, that would confuse the decoder downstream and trigger
an error. So the proposed fix is to not reset pads when the segment event being
processed is the consequence of a seek performed to determine the duration.

Fixes #520
15 jobs for oggdemux-duration-seek-race in 52 minutes and 7 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Preparation
passed #230332
gst indent

00:00:37

passed #230331
manifest

00:00:24

 
  Build
passed #230333
build fedora x86_64

00:06:34

passed #230334
build nodebug fedora x86_64

00:06:27

 
  Test
passed #230335
check fedora

00:03:12

passed #230336
integration testsuites fedora

00:08:10

 
  Full Builds
passed #230338
build cerbero android universal

00:15:18

passed #230339
build cerbero cross win32

00:09:00

passed #230340
build cerbero cross win64

00:05:59

passed #230337
build cerbero fedora x86_64

00:07:18

 
  Full Tests
passed #230344
valgrind bad

00:08:20

passed #230341
valgrind base

00:13:59

passed #230342
valgrind good

00:11:02

passed #230343
valgrind ugly

00:01:48

 
  Apps
passed #230345
android universal examples

00:07:25