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

VIDEO: Set decoder frame rate when loading Theora video. #4276

Merged
merged 1 commit into from Sep 22, 2022

Conversation

mduggan
Copy link
Contributor

@mduggan mduggan commented Sep 19, 2022

Previously the frame rate returned by TheoraDecoder was always 0 as it was never set anywhere.

Change it to set the decoder's frame rate to the video frame rate when a video track is loaded. Possibly not always exactly correct (eg, if there are multiple video tracks), but will be right for most situations.

@somaen
Copy link
Member

somaen commented Sep 21, 2022

Looks good to me.

@bluegr
Copy link
Member

bluegr commented Sep 22, 2022

Nice work! Merging

@bluegr bluegr merged commit b2a9df0 into scummvm:master Sep 22, 2022
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants