[Bug 742922] Reverse playback problem on vaapidecode
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue May 24 08:46:14 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=742922
--- Comment #29 from Hyunjun Ko <zzoon at igalia.com> ---
Created attachment 328420
--> https://bugzilla.gnome.org/attachment.cgi?id=328420&action=edit
vaapidecoder_h264: make sure to confirm if decoder is initialized when starting
to decode a frame
See commit message.
In details, during reverse playback, upstream sends bunch of buffers.
base decoder get all those buffers and keep until discont buffer reaches.
eg. | 1 2 3 4 5 6 7 8 9(discont) |
K K
In this case, base decoder parse all these buffers, starts to decode 1 2 3 4
and push decoded buffers to downstream. And then trys to continue to decode 5 6
7 8 9,
At the moment, crash happens.
Because base decoder calls flush method, which does full-reset in vaapi
decoder.
This patch looks workaround, but I want to share this problem.
--
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