Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of VAConfigAttribEncMaxRefFrames in h264encode.c #267

Open
roxlu opened this issue May 17, 2022 · 0 comments
Open

Use of VAConfigAttribEncMaxRefFrames in h264encode.c #267

roxlu opened this issue May 17, 2022 · 0 comments

Comments

@roxlu
Copy link

roxlu commented May 17, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant