mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 07:08:23 +00:00
va: av1enc: Init the output_frame_num when resetting gf group
Fixes: #3359 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6308>
This commit is contained in:
parent
5f7062136d
commit
861c1a44be
1 changed files with 1 additions and 0 deletions
|
@ -855,6 +855,7 @@ _av1_init_gf_group (GstVaAV1GFGroup * gf_group, GQueue * reorder_list)
|
|||
gf_group->use_alt = FALSE;
|
||||
gf_group->intra_only = FALSE;
|
||||
gf_group->last_poped_index = -1;
|
||||
gf_group->output_frame_num = 0;
|
||||
|
||||
for (i = 0; i < MAX_GF_GROUP_SIZE * 2; i++) {
|
||||
gf_group->frame_types[i] = FRAME_TYPE_INVALID;
|
||||
|
|
Loading…
Reference in a new issue