splitmuxsink: flag as sink from the start

This commit is contained in:
Tim-Philipp Müller 2015-02-13 20:40:48 +00:00
parent 3a9b0188cd
commit 3f5b690e78

View file

@ -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