mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
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.
This commit is contained in:
parent
2505e343b1
commit
de8d00348e
1 changed files with 3 additions and 0 deletions
|
@ -3669,6 +3669,9 @@ gst_qtdemux_activate_segment (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
/* combine global rate with that of the segment */
|
/* combine global rate with that of the segment */
|
||||||
rate = segment->rate * qtdemux->segment.rate;
|
rate = segment->rate * qtdemux->segment.rate;
|
||||||
|
|
||||||
|
/* Copy flags from main segment */
|
||||||
|
stream->segment.flags = qtdemux->segment.flags;
|
||||||
|
|
||||||
/* update the segment values used for clipping */
|
/* update the segment values used for clipping */
|
||||||
/* accumulate previous segments */
|
/* accumulate previous segments */
|
||||||
if (GST_CLOCK_TIME_IS_VALID (stream->segment.stop))
|
if (GST_CLOCK_TIME_IS_VALID (stream->segment.stop))
|
||||||
|
|
Loading…
Reference in a new issue