Commit 83e7182b authored by Jan Schmidt's avatar Jan Schmidt

splitmuxsink: Set pad template on request sink pads

Ensure that the ghost pad returned as a request pad
has the template that was requested
parent 5c152314
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment