[vlc-devel] commit: macosx/framework: Activate --play-and-pause with the framework by default. (Pierre d' Herbemont )

git version control git at videolan.org
Fri Oct 16 15:06:16 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Oct 16 15:03:04 2009 +0200| [3bb576496f1f3724842ca4d989b6a5dd3a66ba4d] | committer: Pierre d'Herbemont 

macosx/framework: Activate --play-and-pause with the framework by default.

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

 projects/macosx/framework/Sources/VLCLibrary.m |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCLibrary.m b/projects/macosx/framework/Sources/VLCLibrary.m
index d7d3d38..3bdb76d 100644
--- a/projects/macosx/framework/Sources/VLCLibrary.m
+++ b/projects/macosx/framework/Sources/VLCLibrary.m
@@ -91,10 +91,14 @@ void * DestroySharedLibraryAtExit( void )
         libvlc_exception_init( &ex );
         
         const char * lib_vlc_params[] = { 
-            "-I", "dummy", "--vout=minimal_macosx", 
-            "--no-video-title-show", "--no-sout-keep", "--ignore-config",
-			"--opengl-provider=minimal_macosx",
-			"-verbose=-1"
+            "-I", "dummy",               // No interface 
+            "--no-video-title-show",     // Don't show the title on overlay when starting to play
+            "--no-sout-keep",
+            "--ignore-config",           // Don't read and write VLC config files.
+			"--opengl-provider=minimal_macosx", // Use minimal_macosx
+            "--vout=minimal_macosx",
+			"-verbose=-1",               // Don't polute the log
+            "--play-and-pause"           // When ending a stream pause it instead of stopping it.
             //, "--control=motion", "--motion-use-rotate", "--video-filter=rotate"
         };
         




More information about the vlc-devel mailing list