mp3parse: conserve stop time for non-accurate seek
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 8 Dec 2009 22:55:04 +0000 (19:55 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 4 Jan 2010 13:01:44 +0000 (10:01 -0300)
commit5e3f07b6a1b259cd3c73fa7fe6e3a3110ae3e3ce
tree76e084092976430bc38f1303cbbda2b63990b5aa
parent6c05222326525c59b81831cce8a11d9dd179bb62
mp3parse: conserve stop time for non-accurate seek

Use the same strategy as accurate seeks to store
pending non-accurate seeks to avoid overwriting non-definite
stop times. When doing non-accurate seeks our position
reporting might drift off by some secs and the stream can
end up before it should.

Fixes #603695
gst/mpegaudioparse/gstmpegaudioparse.c
gst/mpegaudioparse/gstmpegaudioparse.h