vabasedec: Remove assertion for resolution change in input state

This is reported from https://bugs.webkit.org/show_bug.cgi?id=259032

Though I couldn't reproduce the issue, it looks to me unneeded to assert for
resolution changes in old frames, since renegotiation is carried out.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5237>
This commit is contained in:
Víctor Manuel Jáquez Leal 2023-08-24 13:32:46 +02:00 committed by GStreamer Marge Bot
parent 315cfaf2d8
commit bcee96020f

View file

@ -1152,12 +1152,6 @@ gst_va_base_dec_process_output (GstVaBaseDec * base, GstVideoCodecFrame * frame,
GstVideoDecoder *vdec = GST_VIDEO_DECODER (base);
if (input_state) {
g_assert (GST_VIDEO_INFO_WIDTH (&input_state->info) ==
GST_VIDEO_INFO_WIDTH (&base->input_state->info)
&& GST_VIDEO_INFO_HEIGHT (&input_state->info) ==
GST_VIDEO_INFO_HEIGHT (&input_state->info));
g_clear_pointer (&base->input_state, gst_video_codec_state_unref);
base->input_state = gst_video_codec_state_ref (input_state);