[vlc-devel] commit: remove bogus code introduced in the previous commit ( Felix Paul Kühne )

git version control git at videolan.org
Sun Apr 27 22:41:31 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 27 22:42:35 2008 +0200| [f458ada1046dcf8ab43b33010ebac061c8512f11]

remove bogus code introduced in the previous commit

sorry about the disturbance

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

 modules/video_output/opengllayer.m |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/modules/video_output/opengllayer.m b/modules/video_output/opengllayer.m
index bb31d25..eb39a5b 100644
--- a/modules/video_output/opengllayer.m
+++ b/modules/video_output/opengllayer.m
@@ -136,24 +136,6 @@ struct vout_sys_t
  *****************************************************************************/
 static int CreateVout( vlc_object_t *p_this )
 {
-    /* This module is Leopard only */
-#ifdef __APPLE__
-    long minorMacVersion;
-    if( Gestalt( gestaltSystemVersionMinor, &minorMacVersion ) == noErr )
-    {
-        if( minorMacVersion < 6 )
-        {
-            msg_Warn( p_vout, "current osx version is 10.%ld, non-suitable for OpenglLayer video output", minorMacVersion );
-            return VLC_ENOOBJ;
-        }
-    }
-    else
-    {
-        msg_Warn( p_vout, "couldn't get OS version" );
-        return VLC_EGENERIC;
-    }
-#endif
-
     vout_thread_t *p_vout = (vout_thread_t *)p_this;
     vout_sys_t *p_sys;
     char * psz;




More information about the vlc-devel mailing list