diff options
author | Jan Schmidt <jan@centricular.com> | 2016-10-25 14:50:53 +1100 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2016-10-26 20:17:40 +1100 |
commit | 83e7182b30b24e9969d6dd028ee6a152379a5741 (patch) | |
tree | 296c3f94dd63cc2d7f30cf4560a2c4ae264958e6 | |
parent | 5c152314de97482d5afb0ff314deb0d57db5a648 (diff) |
splitmuxsink: Set pad template on request sink pads
Ensure that the ghost pad returned as a request pad
has the template that was requested
-rw-r--r-- | gst/multifile/gstsplitmuxsink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/multifile/gstsplitmuxsink.c b/gst/multifile/gstsplitmuxsink.c index 585b1ffd8..eb97c3778 100644 --- a/gst/multifile/gstsplitmuxsink.c +++ b/gst/multifile/gstsplitmuxsink.c @@ -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); |