vlc/vlc-2.1 | branch: master | David Fuhrmann <[email protected]> | 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 <[email protected]>

> 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:@";"];
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to