diff --git a/subprojects/gst-plugins-bad/sys/va/gstvabasedec.c b/subprojects/gst-plugins-bad/sys/va/gstvabasedec.c index 4ede328157..ad1e4fd5f9 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvabasedec.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvabasedec.c @@ -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);