vaapidecode: don't set base sink caps twice
Base class's sink pad caps are already set when calling set_format(). There's no need to call it again in gst_vaapidecode_negotiate().
This commit is contained in:
parent
6e65356017
commit
385892dd32
@ -471,8 +471,6 @@ gst_vaapidecode_negotiate (GstVaapiDecode * decode)
|
||||
GST_DEBUG_OBJECT (decode, "input codec state changed: renegotiating");
|
||||
|
||||
GST_VIDEO_DECODER_STREAM_LOCK (vdec);
|
||||
if (!gst_vaapi_plugin_base_set_caps (plugin, decode->sinkpad_caps, NULL))
|
||||
goto caps_negotiation_failed;
|
||||
if (!gst_vaapidecode_update_src_caps (decode))
|
||||
goto caps_negotiation_failed;
|
||||
if (!gst_vaapi_plugin_base_set_caps (plugin, NULL, decode->srcpad_caps))
|
||||
|
Loading…
x
Reference in New Issue
Block a user