summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-02-13 20:40:48 +0000
committerTim-Philipp Müller <tim@centricular.com>2015-02-13 20:40:48 +0000
commit3f5b690e782ea8db44ca89198910909d5076dd95 (patch)
treee53d14495bed9e8fad44f437a3c14e9dd6310a65
parent3a9b0188cd6efa03daa05190ccabebe5211ed4a5 (diff)
splitmuxsink: flag as sink from the start
-rw-r--r--gst/multifile/gstsplitmuxsink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c
index 3e0932cd4..695723bee 100644
--- a/gst/multifile/gstsplitmuxsink.c
+++ b/gst/multifile/gstsplitmuxsink.c
@@ -215,6 +215,8 @@ gst_splitmux_sink_init (GstSplitMuxSink * splitmux)
splitmux->mux_overhead = DEFAULT_MUXER_OVERHEAD;
splitmux->threshold_time = DEFAULT_MAX_SIZE_TIME;
splitmux->threshold_bytes = DEFAULT_MAX_SIZE_BYTES;
+
+ GST_OBJECT_FLAG_SET (splitmux, GST_ELEMENT_FLAG_SINK);
}
static void