mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-12 09:26:20 +00:00
splitmuxsink: Set pad template on request sink pads
Ensure that the ghost pad returned as a request pad has the template that was requested
This commit is contained in:
parent
5c152314de
commit
83e7182b30
|
@ -1424,7 +1424,7 @@ gst_splitmux_sink_request_new_pad (GstElement * element,
|
|||
ctx->is_reference = TRUE;
|
||||
}
|
||||
|
||||
res = gst_ghost_pad_new (gname, mq_sink);
|
||||
res = gst_ghost_pad_new_from_template (gname, mq_sink, templ);
|
||||
g_object_set_qdata ((GObject *) (res), PAD_CONTEXT, ctx);
|
||||
|
||||
mq_stream_ctx_ref (ctx);
|
||||
|
|
Loading…
Reference in a new issue