[Bug 734256] Seeking doesn't work in Python

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 4 18:02:18 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734256
  GStreamer | gst-python | git

--- Comment #3 from Jan Schmidt <thaytan at noraisin.net> 2014-08-05 01:02:13 UTC ---
Created an attachment (id=282490)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=282490)
Fixed test-case

The basic problem is that you can't do a flushing seek from an event probe, as
the pipeline can't stop streaming until the event probe returns. Equally, you
can't do a non-flushing seek once EOS has been sent, as pads will ignore all
subsequent data (not sure why we made it that way, maybe something we should
change in the future).

The solution is to defer the flushing seek to the mainloop and drop the EOS
event, as in this variant of the first test case.

Thanks for providing a good test case, by the way - helps a lot.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list