mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-01 01:33:52 +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
1 changed files with 1 additions and 1 deletions
|
@ -1424,7 +1424,7 @@ gst_splitmux_sink_request_new_pad (GstElement * element,
|
||||||
ctx->is_reference = TRUE;
|
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);
|
g_object_set_qdata ((GObject *) (res), PAD_CONTEXT, ctx);
|
||||||
|
|
||||||
mq_stream_ctx_ref (ctx);
|
mq_stream_ctx_ref (ctx);
|
||||||
|
|
Loading…
Reference in a new issue