intel / intel/libva-utils

Use of VAConfigAttribEncMaxRefFrames in h264encode.c

Open
#267 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
241
Forks
172
PR merge metrics
No merged PRs in 30d

Description

I'm looking into the h264encode.c example where the `VAConfigAttribEncMaxRefFrames` attribute is used to retrieve the number
of maximum reference frames. When this attribute is supported the value is not checked against the `num_ref_frames` variable. What happens if `num_ref_frames` is larger than the value in the `VAConfigAttribEncMaxRefFrames` attribute? The `num_ref_frames` is used in the SPS.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.