projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2505e34
)
qtdemux: Copy flags of the overall segment to output segments
author
Jan Schmidt
<jan@centricular.com>
Thu, 11 Dec 2014 13:42:06 +0000
(
00:42
+1100)
committer
Jan Schmidt
<jan@centricular.com>
Thu, 11 Dec 2014 13:56:49 +0000
(
00:56
+1100)
Preserve the segment flags of the overall demux segment on the output
segments for each pad.
gst/isomp4/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/isomp4/qtdemux.c
b/gst/isomp4/qtdemux.c
index f603d2869fa3e8ed4279df8e11557f80b1841b5e..49d5924af6bb6a628de8833cb78333e92eda7c70 100644
(file)
--- 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))