Commit 8de37375 authored by David Fuhrmann's avatar David Fuhrmann

macosx: correctly reset video-splitter on video effects profile change

(cherry picked from commit 689f67e98f59a74cb55dea8e06e1c66c49416f30)
Signed-off-by: default avatarDavid Fuhrmann <dfuhrmann@videolan.org>
parent 390c2b66
...@@ -792,10 +792,12 @@ static VLCVideoEffects *_o_sharedInstance = nil; ...@@ -792,10 +792,12 @@ static VLCVideoEffects *_o_sharedInstance = nil;
if (p_vout) { if (p_vout) {
var_SetString(p_vout, "video-filter", ""); var_SetString(p_vout, "video-filter", "");
var_SetString(p_vout, "sub-source", ""); var_SetString(p_vout, "sub-source", "");
var_SetString(p_vout, "video-splitter", "");
vlc_object_release(p_vout); vlc_object_release(p_vout);
} }
// video-splitter needs to be set via playlist var
var_SetString(pl_Get(p_intf), "video-splitter", "");
/* fetch preset */ /* fetch preset */
NSArray *items = [[[defaults objectForKey:@"VideoEffectProfiles"] objectAtIndex:selectedProfile] componentsSeparatedByString:@";"]; NSArray *items = [[[defaults objectForKey:@"VideoEffectProfiles"] objectAtIndex:selectedProfile] componentsSeparatedByString:@";"];
......
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