[Bug 750783] baseparse: reverse playback in pull mode

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 17 14:29:08 PDT 2015


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

--- Comment #18 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Review of attachment 306884:
 --> (https://bugzilla.gnome.org/review?bug=750783&attachment=306884)

::: libs/gst/base/gstbaseparse.c
@@ +4335,3 @@
     seekstop = gst_base_parse_find_offset (parse, seeksegment.stop, FALSE,
         NULL);
+    seeksegment.start = seeksegment.time = seeksegment.position = start_ts;

This is what breaks seeking. The way stop is set to the duration seems strange
in the first place, as if duration is not -1, stop shall be extrapolate to stop
= start + duration. About the extrapolated value of start, I'm not sure why you
do that, but so far it seems to confuse do_seek() helper.

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