mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
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:
parent
315cfaf2d8
commit
bcee96020f
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue