summaryrefslogtreecommitdiff
path: root/ext/mpeg2enc
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2013-12-01 23:31:25 +0000
committerTim-Philipp Müller <tim@centricular.com>2013-12-01 23:31:25 +0000
commit40c10dc59ef4b6ad3296907a287f9b4d8c8552dc (patch)
treeb26aa778d697ee0455ec63aee11cf7fffe75b7c1 /ext/mpeg2enc
parentc58dd9df73037b9f7424381da4552bd137bd5c4e (diff)
downloadgstreamer-plugins-bad-40c10dc59ef4b6ad3296907a287f9b4d8c8552dc.tar.gz
mpeg2enc: avoid list for one single value in template caps
Diffstat (limited to 'ext/mpeg2enc')
-rw-r--r--ext/mpeg2enc/gstmpeg2enc.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc
index 0be459166..c6f7c801d 100644
--- a/ext/mpeg2enc/gstmpeg2enc.cc
+++ b/ext/mpeg2enc/gstmpeg2enc.cc
@@ -71,8 +71,7 @@ GST_DEBUG_CATEGORY (mpeg2enc_debug);
static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("video/x-raw, "
- "format = (string) { I420 }, " COMMON_VIDEO_CAPS)
+ GST_STATIC_CAPS ("video/x-raw, format = (string) I420, " COMMON_VIDEO_CAPS)
);
static GstStaticPadTemplate src_template = GST_STATIC_PAD_TEMPLATE ("src",