From: gb Date: Tue, 11 May 2010 16:23:17 +0000 (+0000) Subject: Use fixed caps on the src pad, they are not meant to change from video/x-vaapi-surface. X-Git-Tag: 1.19.3~503^2~3427 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af1fd4b9101367b118889d4b27d8f2001847f39d;p=platform%2Fupstream%2Fgstreamer.git Use fixed caps on the src pad, they are not meant to change from video/x-vaapi-surface. --- diff --git a/gst/vaapidecode/gstvaapidecode.c b/gst/vaapidecode/gstvaapidecode.c index 3db683e..3d8ccc9 100644 --- a/gst/vaapidecode/gstvaapidecode.c +++ b/gst/vaapidecode/gstvaapidecode.c @@ -446,6 +446,7 @@ gst_vaapidecode_init(GstVaapiDecode *decode, GstVaapiDecodeClass *klass) "src" ); + gst_pad_use_fixed_caps(decode->srcpad); gst_pad_set_event_function(decode->srcpad, gst_vaapidecode_src_event); gst_element_add_pad(GST_ELEMENT(decode), decode->srcpad); }