[Bug 748107] tsdemux: fix build error with clang

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 20 01:21:41 PDT 2015


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

--- Comment #2 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
Review of attachment 301903:
 --> (https://bugzilla.gnome.org/review?bug=748107&attachment=301903)

It seems to be that this will miss all the interesting cases (and be a noop
anyway). I think this would be better:

if (GST_BUFFER_PTS (buffer) > stream->first_dts)
  demux->segment.position = GST_BUFFER_PTS (buffer) - stream->first_dts;
else
  demux->segment.position = 0;

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