]> git.sesse.net Git - vlc/commitdiff
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 ec5f1514f4739b42b4266fdef221dcb83675262d..22881825b648439a4cc6c155e14fa804bf954b8d 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
-