Commit 76f14c8f authored by David Fuhrmann's avatar David Fuhrmann

macosx: Set sub-text-scale variable on playlist level

This makes sure it outlives vout instances and is valid for the
whole playlist session.

refs #16185
parent d3e682d2
......@@ -1036,12 +1036,7 @@
- (void)switchSubtitleSize:(id)sender
{
int intValue = [sender tag];
vout_thread_t *vout = getVout();
if (vout) {
var_SetInteger(vout, "sub-text-scale", intValue);
vlc_object_release(vout);
}
var_SetInteger(pl_Get(getIntf()), "sub-text-scale", intValue);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment