X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fvaapi%2Fgstvaapidecode.c;h=cc934e4f7cf50d3f7db65f411c1bd6c41d294de7;hb=c5102c72af9df7f508fe278054c45409c15ead24;hp=b5f7a40dc99e6c5e087f7062ea1791ef4baf59d2;hpb=883ef9d436cc31eca6cd3a5ba84673fc7aecd805;p=platform%2Fupstream%2Fgstreamer-vaapi.git diff --git a/gst/vaapi/gstvaapidecode.c b/gst/vaapi/gstvaapidecode.c index b5f7a40..cc934e4 100644 --- a/gst/vaapi/gstvaapidecode.c +++ b/gst/vaapi/gstvaapidecode.c @@ -196,12 +196,12 @@ gst_vaapidecode_update_src_caps(GstVaapiDecode *decode, default: if (format == GST_VIDEO_FORMAT_ENCODED) { /* XXX: this is a workaround until auto-plugging is fixed when - format=ENCODED + memory:VASurface caps feature are provided. - Meanwhile, providing a random format here works but this is - a terribly wrong thing per se. */ + format=ENCODED + memory:VASurface caps feature are provided. + Meanwhile, providing a random format here works but this is + a terribly wrong thing per se. */ gst_vaapidecode_video_info_change_format(&vis, out_format, GST_VIDEO_INFO_WIDTH(vi), GST_VIDEO_INFO_HEIGHT(vi)); -#if GST_CHECK_VERSION(1,3,0) +#if GST_CHECK_VERSION(1,5,0) if (feature == GST_VAAPI_CAPS_FEATURE_VAAPI_SURFACE) features = gst_caps_features_new( GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE, NULL);