[gstreamer-bugs] [Bug 611194] [segments] gst_segment_set_newsegment_full() should allow negative updates to segment start
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Mar 2 02:58:59 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=611194
GStreamer | gstreamer (core) | git
Wim Taymans <wim.taymans> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wim.taymans at gmail.com
--- Comment #1 from Wim Taymans <wim.taymans at gmail.com> 2010-03-02 10:58:52 UTC ---
The reason why it's not implemented is because something like this is tricky:
The initial segment goes like this:
(segment update,rate,start,stop): FALSE, 1.0, 0, 10, 0
Then an update is set (and the rate changed)
(segment update,rate,start,stop): TRUE, 2.0, 5, 10, 5
-> accumulated time is now 5
Then the previous update was considered wrong and the start is decreased:
(segment update,rate,start,stop): TRUE, 2.0, 3, 10, 3
-> accumulated time (implementing backwards start) is now 1 (instead of 3)
The last segment update doesn't know that the previous increase caused an
accumulated time of 5 using a rate of 1.0. so it decreases with 2*2.0 instead
of the expected 2. Not sure it's a real problem but something to consider.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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