[Bug 345830] [qtdemux] better edit lists handling

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 3 11:22:05 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=345830
  GStreamer | gst-plugins-good | git

--- Comment #20 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2014-01-03 19:21:49 UTC ---
Created an attachment (id=265246)
 View: https://bugzilla.gnome.org/attachment.cgi?id=265246
 Review: https://bugzilla.gnome.org/review?bug=345830&attachment=265246

qtdemux: do not ignore empty segments

Make sure empty segments are used and pushed with a gap event
to represent its data (or lack of it)

Each QtSegment is mapped into a GstSegment with the corresponding
media range. For empty QtSegments a gap event is pushed instead
of GstBuffers and it advances to the next QtSegment.

To make this work with seeks, need to keep track of the starting
'base' to make sure it remains consistently increasing when
pushing new segment events.
For example: if a seek makes qtdemux start from 5s, the first
segment will have a base=0. When the next segment is activated,
its base time will be QtSegment.time - qtdemux.segment_base so
that it doesn't include the first 5s that weren't played and
shouldn't be accounted on the running time

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gstreamer-bugs mailing list