-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Add separate option for ass sub color override #16496
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
base: master
Are you sure you want to change the base?
Conversation
Download the artifacts for this pull request: Windows |
Please fix lint errors, see logs for details on the issues. |
8a9cabb
to
7f44c0c
Compare
Previusly this flag was turned on with sub-ass-override >= force. This commit makes it an independent option.
7f44c0c
to
2e8758d
Compare
@@ -567,7 +567,6 @@ static void configure_ass(struct sd *sd, struct mp_osd_res *dim, | |||
if (total_override) { | |||
set_force_flags |= ASS_OVERRIDE_BIT_FONT_NAME | |||
| ASS_OVERRIDE_BIT_FONT_SIZE_FIELDS | |||
| ASS_OVERRIDE_BIT_COLORS |
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.
Shouldn't this stay here? For full override?
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.
Being able to except colors from sub-ass-override=force was my main point with this so no.
That said i do see how its a mess interface wise that it works independently of sub-ass-override levels i just didn't have a beter idea how to do it.
An interface idea that i have now that might be a better fit is to have a 3 option flag (default, yes, no). By default it follows sub-ass-overide levels but can be overriden with yes or no. |
I'm fine with those changes. /cc @llyyr does this look ok to you? |
I'd prefer if all of them were extracted to their own options, and the sub-ass-override option be deprecated. I had intended to do this for years now but was stopped because it would be a breaking change, but if we're doing breaking changes let's do it properly. I like what this PR is doing, and I think it should do it for all the bits that can be toggled by sub-ass-override. |
If we want to go this way, we can have string list option to allow users list what bits are overridden. |
Something like |
This is what I meant. |
Previusly this flag was turned on with sub-ass-override >= force.
This commit makes it an independent option.
I personally prefer this flag off with sub-ass-override=force as some subs have per speaker colors implemented as separate styles, but it's useful to have an option even with sub-ass-override=scale to fix annoying / low contrast font colors.