[Bug 745102] mpeg-ts: wrong position after non flushing seeks

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 9 09:23:42 PDT 2015


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

--- Comment #3 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
Maybe best to use DTS if here, otherwise PTS.

Good point about several streams. How bout something like:

  if (GST_CLOCK_TIME_IS_VALID (GST_BUFFER_DTS (buffer)))
    demux->segment.position = demux->segment.start + GST_BUFFER_DTS (buffer) -
stream->first_ts

(with s/DTS/PTS/ depending on which is set) ?

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