[vlc-commits] macosx: correctly reset video-splitter on video effects profile change
David Fuhrmann
git at videolan.org
Sun Jul 6 18:49:53 CEST 2014
vlc/vlc-2.1 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jul 6 18:26:22 2014 +0200| [db0a61bce00199dab12de998a91047a4bb4eb4e0] | committer: David Fuhrmann
macosx: correctly reset video-splitter on video effects profile change
(cherry picked from commit 689f67e98f59a74cb55dea8e06e1c66c49416f30)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=db0a61bce00199dab12de998a91047a4bb4eb4e0
---
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 b435888..122e724 100644
--- a/modules/gui/macosx/VideoEffects.m
+++ b/modules/gui/macosx/VideoEffects.m
@@ -792,10 +792,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