vaapidecodebin: don't force NV12 since P010_10LE is now possible

Part-of: <!360>
parent b1832223
Pipeline #176572 waiting for manual action with stages
in 1 minute and 14 seconds
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment