[vlc-commits] macosx: correctly reset video-splitter on video effects profile change

David Fuhrmann git at videolan.org
Sun Jul 6 18:48:11 CEST 2014


vlc/vlc-2.2 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jul  6 18:26:22 2014 +0200| [8de37375f5da131afd774438431d078d17a49336] | 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.2.git/?a=commit;h=8de37375f5da131afd774438431d078d17a49336
---

 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 18bc543..af14317 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