diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-07-10 16:26:08 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-07-11 21:48:41 +0200 |
commit | eddde1eec4e9038438532eb3a3f9bd0d3c1041c0 (patch) | |
tree | 89c2e49f8ff312ba19e59e9e3d606d9314f09a30 | |
parent | 3f3249240e2c02147f295c22c319e850d5cacdfb (diff) |
playbin-complex: Change template name from %d to the more common %u
-rw-r--r-- | tests/check/elements/playbin-complex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/playbin-complex.c b/tests/check/elements/playbin-complex.c index 706cb47a6..a4304b120 100644 --- a/tests/check/elements/playbin-complex.c +++ b/tests/check/elements/playbin-complex.c @@ -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 |