gst-player: How to seek

Sebastian Dröge sebastian at centricular.com
Wed Sep 14 16:09:53 UTC 2016


On Mi, 2016-09-14 at 15:59 +0200, Sebastian Dröge wrote:
> On Mi, 2016-09-14 at 15:37 +0200, Sebastian Dröge wrote:
> > 
> >  
> > > 
> > > [...]
> > > Does this mean I should be waiting for the 'seek-done' signal
> > > before trying to restart playback?
> > 
> > That means the state tracking in GstPlayer gets it wrong under
> > these
> > circumstances because of the play() immediately after seek(). That
> > should be fixed.
> > 
> > Can you report a bug with a testcase for this?
> 
> My guess is that we should not set the actual state in play() when a
> seek is still pending, but only remember the (new) target state to be
> actually set later after the seek is done.

Yes, this should fix it:
  http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=a036b7ef9ffe9fe5dac4a7e46fbc3bac92921a54

Please confirm, or otherwise file a bug :)

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 967 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160914/0658da15/attachment.sig>


More information about the gstreamer-devel mailing list