[vlc-commits] vout_macosx: remove misleading user-facing error message about Quartz Extreme being unavailable (close #9777)

Felix Paul Kühne git at videolan.org
Fri Feb 21 14:29:43 CET 2014


vlc/vlc-2.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Feb 21 14:28:48 2014 +0100| [c7b43264353583cc56e3ea8b55aee25d0df4ecf3] | committer: Felix Paul Kühne

vout_macosx: remove misleading user-facing error message about Quartz Extreme being unavailable (close #9777)

While it is strongly desirable to be present, the API behavior or the driver quality seem to have changed on OS X 10.9, so this alert is triggered way to often while video is actually being displayed just fine.

Log message is retained for debugging purposes.

(cherry picked from commit 7f16c15065e1cf28e34d94b0d491c2955f839ef9)

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

 modules/video_output/macosx.m |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index aa3b020..61e994f 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -143,11 +143,8 @@ static int Open (vlc_object_t *this)
     if (!sys)
         return VLC_ENOMEM;
 
-    if (!CGDisplayUsesOpenGLAcceleration (kCGDirectMainDisplay)) {
+    if (!CGDisplayUsesOpenGLAcceleration (kCGDirectMainDisplay))
         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");
 
     vd->sys = sys;
     sys->pool = NULL;



More information about the vlc-commits mailing list