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
@ -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…
x
Reference in New Issue
Block a user