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

Presumable infinite loop issue? #192

Open
DeadSix27 opened this issue Aug 14, 2023 · 1 comment
Open

Presumable infinite loop issue? #192

DeadSix27 opened this issue Aug 14, 2023 · 1 comment

Comments

@DeadSix27
Copy link

DeadSix27 commented Aug 14, 2023

Seems that with this commit (d56e295) opening/playing HDR video files makes MPV get stuck, seemingly in an endless loop (high cpu usage, interface gets stuck), which is ironic considering the commit message
I ran mpv with --no-config and --vo=gpu-next

I added a debug print to desat_bounded to check and yeah it's being called endlessly and never exits I guess? Not sure.:

DEBUG1: desat_bounded - I: 0.151150, h: -2.745801, Cmin: 0.000000, Cmax: 0.500000, maxL: 0.580690, minL: 0.083327
DEBUG1: desat_bounded - I: 0.151150, h: -2.712682, Cmin: 0.000000, Cmax: 0.500000, maxL: 0.580690, minL: 0.083327
DEBUG1: desat_bounded - I: 0.151150, h: -2.712682, Cmin: 0.000000, Cmax: 0.000000, maxL: 0.580690, minL: 0.083327
@haasn
Copy link
Owner

haasn commented Aug 20, 2023

I cannot reproduce this, what gamut mapping function is being used here? Which loop is going infinite?

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

2 participants