x264enc: simplify template caps
authorTim-Philipp Müller <tim@centricular.net>
Fri, 8 Feb 2013 00:15:01 +0000 (00:15 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Fri, 8 Feb 2013 00:15:01 +0000 (00:15 +0000)
No need to make an array for one single element.

ext/x264/gstx264enc.c

index 68367a6..9b23586 100644 (file)
@@ -411,7 +411,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
         "framerate = (fraction) [0/1, MAX], "
         "width = (int) [ 1, MAX ], " "height = (int) [ 1, MAX ], "
         "stream-format = (string) { avc, byte-stream }, "
-        "alignment = (string) { au }, "
+        "alignment = (string) au, "
         "profile = (string) { high-10, high, main, baseline, "
         "constrained-baseline, high-10-intra }")
     );