mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
splitmuxsink: always use factory property when set
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/1024>
This commit is contained in:
parent
ce0be27caf
commit
a6d6e99f59
1 changed files with 3 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue