From: Jan Schmidt Date: Thu, 11 Dec 2014 13:42:06 +0000 (+1100) Subject: qtdemux: Copy flags of the overall segment to output segments X-Git-Tag: 1.6.0~734 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de8d00348e1f4c78329094d9f890385a087b88d9;p=platform%2Fupstream%2Fgst-plugins-good.git qtdemux: Copy flags of the overall segment to output segments Preserve the segment flags of the overall demux segment on the output segments for each pad. --- diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index f603d28..49d5924 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -3669,6 +3669,9 @@ gst_qtdemux_activate_segment (GstQTDemux * qtdemux, QtDemuxStream * stream, /* combine global rate with that of the segment */ rate = segment->rate * qtdemux->segment.rate; + /* Copy flags from main segment */ + stream->segment.flags = qtdemux->segment.flags; + /* update the segment values used for clipping */ /* accumulate previous segments */ if (GST_CLOCK_TIME_IS_VALID (stream->segment.stop))