mpegdemux: clean up segment sending
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 11 Oct 2012 13:27:12 +0000 (15:27 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 12 Oct 2012 15:03:38 +0000 (17:03 +0200)
commit44583eae90eb5b234fb145ad975209412e863ca4
tree33f6103800ccb679e5cb79b843cc6f5e89ff8f26
parentb8312df0a362dfff1a44e4763ae911c7564220af
mpegdemux: clean up segment sending

... to use the src_segment as a basis for the sent segment,
thereby properly conveying accumulated base_time etc.

Also ensure src_segment is only adjusted once, so that
all downstream segments are identical to avoid stream
misalignment.
gst/mpegdemux/gstmpegdemux.c
gst/mpegdemux/gstmpegdemux.h