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