[vlc-commits] vout_macosx: don't fail if quartz extreme isn't available, but show a big warning

Felix Paul Kühne git at videolan.org
Sun Mar 25 23:22:40 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Mar 25 23:22:32 2012 +0200| [3bcac4a47cecf8506de253a53a64eb61e033b0cc] | committer: Felix Paul Kühne

vout_macosx: don't fail if quartz extreme isn't available, but show a big warning

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

 modules/video_output/macosx.m |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index de54a3a..f5f2568 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -125,9 +125,8 @@ static int Open(vlc_object_t *this)
 
     if( !CGDisplayUsesOpenGLAcceleration( kCGDirectMainDisplay ) )
     {
-        msg_Err( this, "no OpenGL hardware acceleration found, video output will fail" );
-        dialog_Fatal( this, _("Video output is not supported"), _("Your Mac lacks Quartz Extreme acceleration, which is required for video output.") );
-        return VLC_EGENERIC;
+        msg_Err( this, "no OpenGL hardware acceleration found. this can lead to slow output and unexpected results" );
+        dialog_Fatal( this, _("OpenGL acceleration is not supported on your Mac"), _("Your Mac lacks Quartz Extreme acceleration, which is required for video output. It will still work, but much slower and with possibly unexpected results.") );
     }
     else
         msg_Dbg( this, "Quartz Extreme acceleration is active" );



More information about the vlc-commits mailing list