/*****************************************************************************
* VLCOpenGLVoutView.m: MacOS X OpenGL provider
*****************************************************************************
- * Copyright (C) 2001-2007 the VideoLAN team
+ * Copyright (C) 2001-2009 the VideoLAN team
* $Id$
*
* Authors: Colin Delacroix <colin@zoy.org>
msg_Dbg( p_vout, "Mac OS X Vout is opening" );
- var_Create( p_vout, "drawable", VLC_VAR_DOINHERIT );
- var_Get( p_vout, "drawable", &value_drawable );
+ var_Create( p_vout, "drawable-gl", VLC_VAR_DOINHERIT );
+ var_Get( p_vout, "drawabl-gl", &value_drawable );
p_vout->p_sys->o_pool = [[NSAutoreleasePool alloc] init];
id <VLCOpenGLVoutEmbedding> o_cocoaglview_container;
msg_Dbg( p_vout, "Mac OS X Vout is closing" );
- var_Destroy( p_vout, "drawable" );
+ var_Destroy( p_vout, "drawable-gl" );
o_cocoaglview_container = [p_vout->p_sys->o_glview container];