[MOVED FROM BAD 035/134] vp8enc: Use GST_VIDEO_CAPS_YUV(I420) instead of handwritten...
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 22 May 2010 07:35:24 +0000 (09:35 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 16 Sep 2012 13:27:13 +0000 (15:27 +0200)
Fixes bug #619344.

ext/vp8/gstvp8enc.c

index e984fed..7e8e705 100644 (file)
@@ -178,9 +178,7 @@ static GstStaticPadTemplate gst_vp8_enc_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("video/x-raw-yuv,format=(fourcc)I420,"
-        "width=[1,max],height=[1,max],framerate=(fraction)[0,max],"
-        "interlaced=(boolean){TRUE,FALSE}")
+    GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("I420"))
     );
 
 static GstStaticPadTemplate gst_vp8_enc_src_template =