mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
splitmuxsink: In async mode, retain previous muxer pad names.
When running in async-finalize mode, request new pads from the muxer using the same names as old pads, instead of letting the muxer assign new ones based on the pad template name.
This commit is contained in:
parent
83ef7a6d1c
commit
8ec695e55d
1 changed files with 1 additions and 1 deletions
|
@ -1551,7 +1551,7 @@ relink_context (MqStreamCtx * ctx, GstSplitMuxSink * splitmux)
|
|||
templ = sinkpad->padtemplate;
|
||||
newpad =
|
||||
gst_element_request_pad (splitmux->muxer, templ,
|
||||
GST_PAD_TEMPLATE_NAME_TEMPLATE (templ), NULL);
|
||||
GST_PAD_NAME (sinkpad), NULL);
|
||||
|
||||
GST_DEBUG_OBJECT (splitmux, "Relinking ctx %p to pad %" GST_PTR_FORMAT, ctx,
|
||||
newpad);
|
||||
|
|
Loading…
Reference in a new issue