-
Notifications
You must be signed in to change notification settings - Fork 12
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
Seeking mode always uses exact seeks, causing slow mouse dragging #250
Comments
I discovered the seekbar is (seemingly) always using exact seeks, which makes mouse dragging much slower, because the So I reverted the commit 53c9d90 by adding back: local function startupevents()
if user_opts.automatickeyframemode then
if mp.get_property_number("duration", 0) > user_opts.automatickeyframelimit then
user_opts.seekbarkeyframes = true
else
user_opts.seekbarkeyframes = false
end
end
end
--
-- Other important stuff
mp.register_event("file-loaded", startupevents) Remove the section: if user_opts.automatickeyframemode then
if mp.get_property_number("duration", 0) > user_opts.automatickeyframelimit then
user_opts.seekbarkeyframes = true
else
user_opts.seekbarkeyframes = false
end
end And dragging is not slow anymore. |
Ah, that is a great find. So it's being processed earlier than needed. Thanks for pointing this out, I'll post a fix in a bit to see if it fixes it. |
Could you try this, please: Question: So for your scenario, setting |
Will check later today. Thanks!
Yep that's right. It will also be slow when seekbarkeyframes is turned off, if automatickeyframemode is also turned off. |
Everything's working properly now. :) ty |
mpv Information
Reproduction Steps
Compared to other forks like ModernX from zydezu, ModernZ is noticeably more sluggish and struggles while scrubbing through a high bit rate 1080p file; the seek bar "lags" behind while it's trying to follow fast cursor movements.
So far I couldn't find any setting that would remedy that.
Expected Behavior
Equal performance when compared to modernX
Actual Behavior
Sluggish performance
Log File
log.txt
I carefully read all instructions and confirm that I did the following:
The text was updated successfully, but these errors were encountered: