mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Reference in a new issue