From f1c44411f31a09ebbf2a51d9ba514294af4e93af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Mon, 13 Jul 2020 11:06:18 +0200 Subject: [PATCH] vaapidecodebin: don't force NV12 since P010_10LE is now possible Part-of: --- gst/vaapi/gstvaapidecodebin.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gst/vaapi/gstvaapidecodebin.c b/gst/vaapi/gstvaapidecodebin.c index 52a102e160..7edf39722c 100644 --- a/gst/vaapi/gstvaapidecodebin.c +++ b/gst/vaapi/gstvaapidecodebin.c @@ -313,9 +313,8 @@ gst_vaapi_decode_bin_configure (GstVaapiDecodeBin * vaapidecbin) GST_INFO_OBJECT (vaapidecbin, "enabling VPP"); - /* capsfilter to avoid negotiation with vaapidecode */ - caps = gst_caps_from_string - ("video/x-raw(memory:VASurface), format=(string)NV12"); + /* capsfilter to force memory:VASurface */ + caps = gst_caps_from_string ("video/x-raw(memory:VASurface)"); if (!caps) goto error_cannot_set_caps; capsfilter = gst_element_factory_make ("capsfilter", NULL);