mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
vaapidecode: relax guards for memory:VASurface capsfeature
Though caps features are supported since GStreamer 1.2, there are some issues with the features caps negotiation in that version. Nonetheless, those issues are fixed in GStreamer 1.4. So, the memoy:VASurface caps feature negotiation is relaxed for GStreamer 1.4. The guard is the same as in vaapisink's caps template. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=756686
This commit is contained in:
parent
361f55be31
commit
b76f4825c5
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ gst_vaapidecode_update_src_caps (GstVaapiDecode * decode)
|
||||||
(GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META, NULL);
|
(GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META, NULL);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if GST_CHECK_VERSION(1,5,0)
|
#if GST_CHECK_VERSION(1,3,1)
|
||||||
case GST_VAAPI_CAPS_FEATURE_VAAPI_SURFACE:
|
case GST_VAAPI_CAPS_FEATURE_VAAPI_SURFACE:
|
||||||
features =
|
features =
|
||||||
gst_caps_features_new (GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE, NULL);
|
gst_caps_features_new (GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE, NULL);
|
||||||
|
|
Loading…
Reference in a new issue