[vlc-commits] macosx: fix crash when applying video effects profile

David Fuhrmann git at videolan.org
Tue Jun 24 21:07:44 CEST 2014


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Jun 24 21:06:38 2014 +0200| [c556711db3d0f0587144c713bbb34b4876a91f85] | committer: David Fuhrmann

macosx: fix crash when applying video effects profile

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c556711db3d0f0587144c713bbb34b4876a91f85
---

 modules/gui/macosx/VideoEffects.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VideoEffects.m b/modules/gui/macosx/VideoEffects.m
index f3c29ef..9a9795a 100644
--- a/modules/gui/macosx/VideoEffects.m
+++ b/modules/gui/macosx/VideoEffects.m
@@ -623,7 +623,7 @@ static VLCVideoEffects *_o_sharedInstance = nil;
     [vci_si setVideoFilterProperty:"colorthres-similaritythres" forFilter:"colorthres" integer:[[items objectAtIndex:16] intValue]];
     [vci_si setVideoFilterProperty:"sepia-intensity" forFilter:"sepia" integer:[[items objectAtIndex:17] intValue]];
     [vci_si setVideoFilterProperty:"gradient-mode" forFilter:"gradient" string:[B64DecNSStr([items objectAtIndex:18]) UTF8String]];
-    [vci_si setVideoFilterProperty:"gradient-cartoon" forFilter:"gradient" integer:[[items objectAtIndex:19] intValue]];
+    [vci_si setVideoFilterProperty:"gradient-cartoon" forFilter:"gradient" boolean:[[items objectAtIndex:19] intValue]];
     [vci_si setVideoFilterProperty:"gradient-type" forFilter:"gradient" integer:[[items objectAtIndex:20] intValue]];
     [vci_si setVideoFilterProperty:"extract-component" forFilter:"extract" integer:[[items objectAtIndex:21] intValue]];
     [vci_si setVideoFilterProperty:"posterize-level" forFilter:"posterize" integer:[[items objectAtIndex:22] intValue]];



More information about the vlc-commits mailing list