diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-04-20 13:16:24 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-05-08 18:10:59 +0200 |
commit | f2f0a2fa7941c994930ee11d7f04a99f07a00976 (patch) | |
tree | a523b7954a30b1874e588d7caf8a6875af1c1e43 | |
parent | 6578c44a92a92b922ef45871097eb60831807173 (diff) | |
download | gstreamer-plugins-good-f2f0a2fa7941c994930ee11d7f04a99f07a00976.tar.gz |
splitmuxsink: Don't use an explicit name for requesting audio pads
... unless the muxer uses the same audio pad template name as
splitmuxsink. We can't request a pad called "audio_0" on a muxer that
wants pads to be "sink_%d".
-rw-r--r-- | gst/multifile/gstsplitmuxsink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index e6c681e7a..5e8855189 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -1397,6 +1397,7 @@ gst_splitmux_sink_request_new_pad (GstElement * element, mux_template = gst_element_class_get_pad_template (GST_ELEMENT_GET_CLASS (splitmux->muxer), "audio"); + name = NULL; } } if (mux_template == NULL) { @@ -1404,6 +1405,7 @@ gst_splitmux_sink_request_new_pad (GstElement * element, mux_template = gst_element_class_get_pad_template (GST_ELEMENT_GET_CLASS (splitmux->muxer), "sink_%d"); + name = NULL; } } |