[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
Mon Mar 26 20:52:11 CEST 2012


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

vout_macosx: don't fail if quartz extreme isn't available, but show a big warning
(cherry picked from commit 3bcac4a47cecf8506de253a53a64eb61e033b0cc)

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

 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 131b209..683ac92 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