vtdec: Fix deadlock when negotiating format change

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6811>
This commit is contained in:
Emil Pettersson 2024-05-07 10:35:26 +02:00 committed by GStreamer Marge Bot
parent da35ed6916
commit 19bc0da824

View file

@ -743,7 +743,7 @@ gst_vtdec_set_format (GstVideoDecoder * decoder, GstVideoCodecState * state)
gst_video_codec_state_unref (vtdec->input_state);
vtdec->input_state = gst_video_codec_state_ref (state);
return gst_video_decoder_negotiate (decoder);
return gst_vtdec_negotiate (decoder);
}
static gboolean