GNOME Bugzilla – Bug 745339
qtdemux: key_unit seek doesn't work
Last modified: 2015-03-02 00:43:05 UTC
Created attachment 298172 [details] [review] Patch gst_qtdemux_perform_seek looks for the GST_SEEK_FLAG_KEY_UNIT flag on segment, but GST_SEEK_FLAG_KEY_UNIT is not a segment flag. It needs to be passed as separate argument from gst_qtdemux_adjust_seek
Review of attachment 298172 [details] [review]: You're right - GST_SEEK_FLAG_KEY_UNIT doesn't get copied to the segment, because it's only relevant when performing the seek.
commit f75e443a7a0bd27b3e1935dd5e82a4e4e2498397 Author: Matej Knopp <matej.knopp@gmail.com> Date: Sat Feb 28 18:10:06 2015 +0100 qtdemux: fix key unit seek Unlike many other seek flags, the KEY_UNIT seek flag is not copied over into the GstSegment, since it's only relevant for the seek itself, so we need to pass it explicitly to the seek handler here. https://bugzilla.gnome.org/show_bug.cgi?id=745339
Sorry for missing explanation in the commit; I'll work on it :)