Commit a6d6e99f authored by Mathieu Duponchelle's avatar Mathieu Duponchelle 🐸
Browse files

splitmuxsink: always use factory property when set

Part-of: <!1024>
parent ce0be27c
Pipeline #355472 waiting for manual action with stages
in 1 minute
......@@ -3315,7 +3315,9 @@ create_muxer (GstSplitMuxSink * splitmux)
if ((!splitmux->async_finalize && provided_muxer == NULL) ||
(splitmux->async_finalize && splitmux->muxer_factory == NULL)) {
if ((splitmux->muxer =
create_element (splitmux, DEFAULT_MUXER, "muxer", FALSE)) == NULL)
create_element (splitmux,
splitmux->muxer_factory ? splitmux->
muxer_factory : DEFAULT_MUXER, "muxer", FALSE)) == NULL)
goto fail;
} else if (splitmux->async_finalize) {
if ((splitmux->muxer =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment