playbin-complex: Change template name from %d to the more common %u

This commit is contained in:
Sebastian Dröge 2014-07-10 16:26:08 +02:00
parent b15a47aa19
commit a67d745de2

View file

@ -413,7 +413,7 @@ static GstStaticPadTemplate cd_sink_templ = GST_STATIC_PAD_TEMPLATE ("sink",
" stream0 = (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_STATIC_CAPS ("audio/x-raw; audio/x-compressed; "
"video/x-raw; video/x-compressed")
@ -500,7 +500,7 @@ gst_codec_demuxer_setup_pad (GstCodecDemuxer * demux, GstPad ** pad,
templ =
gst_element_class_get_pad_template (GST_ELEMENT_GET_CLASS (demux),
"src_%d");
"src_%u");
if (pad == &demux->srcpad0)
*pad = gst_pad_new_from_template (templ, "src_0");
else