mpeg2enc: avoid list for one single value in template caps
authorTim-Philipp Müller <tim@centricular.com>
Sun, 1 Dec 2013 23:31:25 +0000 (23:31 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 1 Dec 2013 23:31:25 +0000 (23:31 +0000)
ext/mpeg2enc/gstmpeg2enc.cc

index 0be4591..c6f7c80 100644 (file)
@@ -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",