From: Sebastian Dröge Date: Sat, 22 May 2010 07:35:24 +0000 (+0200) Subject: [MOVED FROM BAD 035/134] vp8enc: Use GST_VIDEO_CAPS_YUV(I420) instead of handwritten... X-Git-Tag: 1.19.3~509^2~6650 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13dbfc2fa95be09577ece90008f156f0dad4f41e;p=platform%2Fupstream%2Fgstreamer.git [MOVED FROM BAD 035/134] vp8enc: Use GST_VIDEO_CAPS_YUV(I420) instead of handwritten I420 caps for the pad template Fixes bug #619344. --- diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index e984fed..7e8e705 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -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 =