From 3bb576496f1f3724842ca4d989b6a5dd3a66ba4d Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Fri, 16 Oct 2009 15:03:04 +0200 Subject: [PATCH] macosx/framework: Activate --play-and-pause with the framework by default. --- projects/macosx/framework/Sources/VLCLibrary.m | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/projects/macosx/framework/Sources/VLCLibrary.m b/projects/macosx/framework/Sources/VLCLibrary.m index d7d3d38cbd..3bdb76d8c3 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" }; -- 2.39.5