mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
playbin-complex: Change template name from %d to the more common %u
This commit is contained in:
parent
b15a47aa19
commit
a67d745de2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue