[vlc-commits] macosx: correctly reset video-splitter on video effects profile change
David Fuhrmann
git at videolan.org
Sun Jul 6 18:46:10 CEST 2014
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jul 6 18:26:22 2014 +0200| [689f67e98f59a74cb55dea8e06e1c66c49416f30] | committer: David Fuhrmann
macosx: correctly reset video-splitter on video effects profile change
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=689f67e98f59a74cb55dea8e06e1c66c49416f30
---
modules/gui/macosx/VideoEffects.m | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/gui/macosx/VideoEffects.m b/modules/gui/macosx/VideoEffects.m
index 9a9795a..f124eae 100644
--- a/modules/gui/macosx/VideoEffects.m
+++ b/modules/gui/macosx/VideoEffects.m
@@ -565,10 +565,12 @@ static VLCVideoEffects *_o_sharedInstance = nil;
if (p_vout) {
var_SetString(p_vout, "video-filter", "");
var_SetString(p_vout, "sub-source", "");
- var_SetString(p_vout, "video-splitter", "");
vlc_object_release(p_vout);
}
+ // video-splitter needs to be set via playlist var
+ var_SetString(pl_Get(p_intf), "video-splitter", "");
+
/* fetch preset */
NSArray *items = [[[defaults objectForKey:@"VideoEffectProfiles"] objectAtIndex:selectedProfile] componentsSeparatedByString:@";"];
More information about the vlc-commits
mailing list