[vlc-devel] commit: macosx: fixed video output ( Felix Paul Kühne )
git version control
git at videolan.org
Sun Jun 28 01:56:56 CEST 2009
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Jun 28 00:04:38 2009 +0200| [6223f1203fd37e3c67215b7f11bdb5bd92c17b28] | committer: Felix Paul Kühne
macosx: fixed video output
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6223f1203fd37e3c67215b7f11bdb5bd92c17b28
---
modules/gui/macosx/voutgl.m | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/gui/macosx/voutgl.m b/modules/gui/macosx/voutgl.m
index a6e751d..4a542e6 100644
--- a/modules/gui/macosx/voutgl.m
+++ b/modules/gui/macosx/voutgl.m
@@ -103,7 +103,6 @@ static void aglUnlock ( vout_thread_t * p_vout );
int OpenVideoGL ( vlc_object_t * p_this )
{
vout_thread_t * p_vout = (vout_thread_t *) p_this;
- vlc_value_t value_drawable;
if( !CGDisplayUsesOpenGLAcceleration( kCGDirectMainDisplay ) )
{
@@ -119,8 +118,9 @@ int OpenVideoGL ( vlc_object_t * p_this )
memset( p_vout->p_sys, 0, sizeof( vout_sys_t ) );
#ifndef __x86_64__
- var_Get( p_vout->p_libvlc, "drawable-agl", &value_drawable );
- if( value_drawable.i_int != 0 )
+ int i_drawable_agl;
+ i_drawable_agl = var_GetInteger( p_vout->p_libvlc, "drawable-agl" );
+ if( i_drawable_agl > 0 )
{
static const GLint ATTRIBUTES[] = {
AGL_WINDOW,
@@ -208,7 +208,6 @@ void CloseVideoGL ( vlc_object_t * p_this )
{
vout_thread_t * p_vout = (vout_thread_t *) p_this;
- msg_Dbg( p_this, "Closing" );
#ifndef __x86_64__
if( p_vout->p_sys->b_embedded )
More information about the vlc-devel
mailing list