-
Notifications
You must be signed in to change notification settings - Fork 3k
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
osd_libass: update the OSD bar's dent and border size #12994
Conversation
Download the artifacts for this pull request: |
sub/osd_libass.c
Outdated
@@ -466,7 +466,7 @@ static void update_progbar(struct osd_state *osd, struct osd_object *obj) | |||
// chapter marks | |||
for (int n = 0; n < obj->progbar_state.num_stops; n++) { | |||
float s = obj->progbar_state.stops[n] * width; | |||
float dent = border * 1.3; | |||
float dent = border * 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I set --osd-bar-border-size
to the old default of 1, the chapter markers are now too large, and there is no way to control that separately from this option.
Instead of increasing the multiplier, why not set a minimum value instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
5a45b01
to
3872e74
Compare
Make the OSD bar markers bigger so we can default to a smaller, better-looking border size, without sacrificing markers' visibility.
3872e74
to
cfd2bd6
Compare
The unevennes at 0.4+1080p is hard to notice but it's more noticeable at 720p. I made it 0.5 again. I think another good option is 0.3 which seems to be even at both 720p and 1080p, whichever is preferred. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to have been forgotten but I think this is more aesthetically pleasing so why not
Make the OSD bar markers bigger so we can default to a smaller, better-looking border size, without sacrificing markers' visibility.