playbin-complex: Change template name from %d to the more common %u
This commit is contained in:
parent
b15a47aa19
commit
a67d745de2
@ -413,7 +413,7 @@ static GstStaticPadTemplate cd_sink_templ = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||||||
" stream0 = (string)" STREAM_TYPES " ,"
|
" stream0 = (string)" STREAM_TYPES " ,"
|
||||||
" stream1 = (string)" STREAM_TYPES)
|
" stream1 = (string)" STREAM_TYPES)
|
||||||
);
|
);
|
||||||
static GstStaticPadTemplate cd_src_templ = GST_STATIC_PAD_TEMPLATE ("src_%d",
|
static GstStaticPadTemplate cd_src_templ = GST_STATIC_PAD_TEMPLATE ("src_%u",
|
||||||
GST_PAD_SRC, GST_PAD_SOMETIMES,
|
GST_PAD_SRC, GST_PAD_SOMETIMES,
|
||||||
GST_STATIC_CAPS ("audio/x-raw; audio/x-compressed; "
|
GST_STATIC_CAPS ("audio/x-raw; audio/x-compressed; "
|
||||||
"video/x-raw; video/x-compressed")
|
"video/x-raw; video/x-compressed")
|
||||||
@ -500,7 +500,7 @@ gst_codec_demuxer_setup_pad (GstCodecDemuxer * demux, GstPad ** pad,
|
|||||||
|
|
||||||
templ =
|
templ =
|
||||||
gst_element_class_get_pad_template (GST_ELEMENT_GET_CLASS (demux),
|
gst_element_class_get_pad_template (GST_ELEMENT_GET_CLASS (demux),
|
||||||
"src_%d");
|
"src_%u");
|
||||||
if (pad == &demux->srcpad0)
|
if (pad == &demux->srcpad0)
|
||||||
*pad = gst_pad_new_from_template (templ, "src_0");
|
*pad = gst_pad_new_from_template (templ, "src_0");
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user