MacOSX/Framework: Use --opengl-provider=minimal_macosx. (Original patch by Enrique...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 30 Sep 2007 10:40:30 +0000 (10:40 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 30 Sep 2007 10:40:30 +0000 (10:40 +0000)
extras/MacOSX/Framework/Sources/VLCLibrary.m

index 8fe754e..baa6de4 100644 (file)
@@ -32,10 +32,12 @@ static libvlc_instance_t * shared_instance = NULL;
     if(!shared_instance)
     {
         libvlc_exception_t ex;
-        char *lib_vlc_params[] = { "vlc", "-I", "dummy", "-vvvvvv" };
+        char *lib_vlc_params[] = { "vlc", "-I", "dummy",
+                                   "--opengl-provider=minimal_macosx",
+                                   "-vvvvvv" };
         libvlc_exception_init( &ex );
         
-        shared_instance = libvlc_new( 4, lib_vlc_params, &ex );
+        shared_instance = libvlc_new( 5, lib_vlc_params, &ex );
         quit_on_exception( &ex );
     }
     return shared_instance;