Skip to content

osc.lua: use private options to control SUB/OSD offset#17555

Open
kasper93 wants to merge 2 commits intompv-player:masterfrom
kasper93:fix-margins
Open

osc.lua: use private options to control SUB/OSD offset#17555
kasper93 wants to merge 2 commits intompv-player:masterfrom
kasper93:fix-margins

Conversation

@kasper93
Copy link
Member

There is concern that with certain user options or script the value of {sub,osd}-margin-y value may be persisted or overwrite user option when it's changed while OSD is visible and offset is applied.

Fix this by using dedicated private option only for OSC use.

@kasper93
Copy link
Member Author

@na-na-hi: Does this fix your concern?

Used to mark private options that shouldn't be exposed to the users.
There is concern that with certain user options or script the value of
`{sub,osd}-margin-y` value may be persisted or overwrite user option
when it's changed while OSD is visible and offset is applied.

Fix this by using dedicated private option only for OSC use.
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

Successfully merging this pull request may close these issues.

1 participant