options: add secondary-sub-scale#18166
Conversation
I don't think this is necessary, as the does this default value support the |
To clarify before I change this: the current patch uses However, this does make the command behavior less clear because If we instead make Another compatibility concern is that frontends, scripts, or existing user configurations may currently expose or set only Which behavior would be preferred for mpv? I can adjust the patch accordingly. |
|
Would another option be to keep For example, if This would preserve the existing behavior for users/frontends that only set |
|
I pushed an implementation of this approach: With the follow-up commit, So I think this is still less surprising than having |
|
Sorry for the late response after you did all this extra work but I agree with verygoodlee. I don't think a |
50ac839 to
690730f
Compare
|
Thanks for the review. I updated the patch so The option is applied to both ASS and bitmap subtitle rendering paths, documented in the manpage, and included in watch-later options. |
690730f to
79761c7
Compare
|
Updated, thanks. I moved |
Dudemanguy
left a comment
There was a problem hiding this comment.
Just some style stuff mainly.
This allows scaling secondary subtitles independently from primary subtitles. The option defaults to 1 like --sub-scale and follows the other secondary-sub-* options by not inheriting from the primary subtitle setting. Fixes mpv-player#14989.
79761c7 to
21fd20a
Compare
|
Updated, thanks. |
Dudemanguy
left a comment
There was a problem hiding this comment.
Thanks LGTM now. Will actually test later.
Adds
--secondary-sub-scaleto allow scaling secondary subtitles independently from primary subtitles.By default the option is
default, which preserves the existing behavior by inheriting--sub-scale. Setting a numeric value overrides the scale for secondary subtitles only.Fixes #14989.
Tested with:
uvx meson test -C build --print-errorlogsAI disclosure:
This contribution was developed with AI assistance. I have reviewed the changes, understand what was changed and why, and take responsibility for the code and review responses.