vah264enc: Init missing fields in reset_state()

This commit is contained in:
He Junyan 2024-04-17 00:03:48 +08:00
parent 9f9625bbc8
commit 696dc1fc9f

View file

@ -1531,6 +1531,8 @@ gst_va_h264_enc_reset_state (GstVaBaseEnc * base)
self->level_str = NULL;
self->mb_width = 0;
self->mb_height = 0;
self->min_cr = 0;
self->packed_headers = 0;
self->support_trellis = FALSE;
self->gop.i_period = 0;