[Bug 787405] [REGRESSION] - Seeking in NLE is broken

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 15 20:01:58 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=787405

--- Comment #5 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Just piling hacks as I'm building knowledge around what this code is doing. So
now I think I understand the idea with dropping seeks (which I've disabled in
first patch). I think it is to avoid a userless seek that would for sure return
EOS. Something like:

  seek, EOS, change stack, implicit-seek

I think it's fine to drop the first seek, but  not the associated flush, which
won't be forwarded downstream when the "implicit-seek" happens.

For the second issue, which gst-validate didn't pick up, but I was seeking in
PiTiVi, it's really simple. The audio sink is in paused, there is buffer, caps
segment in the queue already and it's blocked on allocation query. The seek is
queued, but the task that will exectute this seek is waiting for a buffer
(which is the current condition for a stack to be ready). So if I simply assume
stack is ready on segment, this situation is avoided. events don't take any
"space" in queues, so they should not block on downstream queue. These two
event are definitely expected before the allocation query take place.

-- 
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