summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-04 12:22:37 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-04 12:22:37 +0100
commitc8adc4f8c86dc1a56bfb90be1b7cba80d233ccbf (patch)
tree5014a5830aee0bf6eec59bb074bb8ed7ecc2f7f0 /sys
parent8e5579c594e17be95722943cdb1c797334a398ea (diff)
downloadgstreamer-plugins-bad-c8adc4f8c86dc1a56bfb90be1b7cba80d233ccbf.tar.gz
make request pads take _%u
Diffstat (limited to 'sys')
-rw-r--r--sys/dvb/dvbbasebin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dvb/dvbbasebin.c b/sys/dvb/dvbbasebin.c
index 150326b78..6abba71d6 100644
--- a/sys/dvb/dvbbasebin.c
+++ b/sys/dvb/dvbbasebin.c
@@ -34,13 +34,13 @@ GST_DEBUG_CATEGORY_STATIC (dvb_base_bin_debug);
#define GST_CAT_DEFAULT dvb_base_bin_debug
static GstStaticPadTemplate src_template =
-GST_STATIC_PAD_TEMPLATE ("src%d", GST_PAD_SRC,
+GST_STATIC_PAD_TEMPLATE ("src_%u", GST_PAD_SRC,
GST_PAD_REQUEST,
GST_STATIC_CAPS ("video/mpegts, " "systemstream = (boolean) true ")
);
static GstStaticPadTemplate program_template =
-GST_STATIC_PAD_TEMPLATE ("program_%d", GST_PAD_SRC,
+GST_STATIC_PAD_TEMPLATE ("program_%u", GST_PAD_SRC,
GST_PAD_SOMETIMES,
GST_STATIC_CAPS ("video/mpegts, " "systemstream = (boolean) true ")
);
@@ -563,7 +563,7 @@ dvb_base_bin_init_cam (DvbBaseBin * dvbbasebin)
if (cam_device_open (dvbbasebin->hwcam, ca_file)) {
/* HACK: poll the cam in a buffer probe */
dvbbasebin->ts_pad =
- gst_element_get_request_pad (dvbbasebin->mpegtsparse, "src%d");
+ gst_element_get_request_pad (dvbbasebin->mpegtsparse, "src_%u");
gst_pad_add_probe (dvbbasebin->ts_pad, GST_PAD_PROBE_TYPE_BLOCK,
dvb_base_bin_ts_pad_probe_cb, dvbbasebin, NULL);
} else {