MacOSX/Framework/VLCLibrary.m: Default the use of the opengllayer video output module...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 28 Dec 2007 18:29:38 +0000 (18:29 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 28 Dec 2007 18:29:38 +0000 (18:29 +0000)
extras/MacOSX/Framework/Sources/VLCLibrary.m

index ec5f151..2288182 100644 (file)
@@ -75,11 +75,11 @@ static void * DestroySharedLibraryAtExit( void )
         libvlc_exception_init( &ex );
         
         const char *lib_vlc_params[] = { 
-            "-I", "dummy", "-vvvv", "--opengl-provider", "minimal_macosx", 
-            "--no-video-title-show", NULL
+            "-I", "dummy", "--vout=opengllayer", 
+            "--no-video-title-show"
         };
         
-        instance = (void *)libvlc_new( 6, lib_vlc_params, &ex );
+        instance = (void *)libvlc_new( sizeof(lib_vlc_params)/sizeof(lib_vlc_params[0]), lib_vlc_params, &ex );
         quit_on_exception( &ex );
         
         // Assignment unneeded, as the audio unit will do it for us
@@ -127,4 +127,3 @@ static void * DestroySharedLibraryAtExit( void )
         audio = value;
 }
 @end
-