[Bug 785237] omxvideodec: Fix segment seek
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jul 21 15:59:51 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785237
--- Comment #1 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Created attachment 356127
--> https://bugzilla.gnome.org/attachment.cgi?id=356127&action=edit
omxvideodec: Fix segment seek
On segment seek, unlike EOS, we drain, but we cannot expect a flush
later to reset the decoder state. As a side effect, the decoder would
remain in EOS state and ignore any new incoming buffers.
To fix this, we call _flush() inside the _drain() function, and
_finish() becomes what _drain() was before. This way, for _finish() (the
eos case) we only drain, for _drain() triggered by segment seek or new
caps, we also reset the decoder state so it's ready to accept buffers.
--
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