summaryrefslogtreecommitdiffstats
path: root/Gui/interface.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-11 16:57:09 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-11 16:57:09 +0000
commitffc3a5801196e732e1f715719f80f5bd9fa72dac (patch)
treea7b40efb6a839a0a4fe1b4d6037d2309a2f1e5be /Gui/interface.c
parent2dc3b7951cc51e29b03ad1e9c9918ff9e9ef2f93 (diff)
downloadmpv-ffc3a5801196e732e1f715719f80f5bd9fa72dac.tar.bz2
mpv-ffc3a5801196e732e1f715719f80f5bd9fa72dac.tar.xz
updating
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8151 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/interface.c')
-rw-r--r--Gui/interface.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Gui/interface.c b/Gui/interface.c
index 2b297869e4..b379d3fe1e 100644
--- a/Gui/interface.c
+++ b/Gui/interface.c
@@ -599,8 +599,7 @@ int guiGetEvent( int type,char * arg )
while ( video_out_drivers[i++] )
if ( video_out_drivers[i - 1]->control( VOCTRL_GUISUPPORT,NULL ) == VO_TRUE )
{
- const vo_info_t *info = video_out_drivers[i - 1]->get_info();
- gaddlist( &video_driver_list,(char *)info->short_name );
+ gaddlist( &video_driver_list,(char *)video_out_drivers[i - 1]->info->short_name );
break;
}
}
@@ -613,8 +612,7 @@ int guiGetEvent( int type,char * arg )
while ( video_out_drivers[i++] )
if ( video_out_drivers[i - 1]->control( VOCTRL_GUISUPPORT,NULL ) == VO_TRUE )
{
- const vo_info_t *info = video_out_drivers[i - 1]->get_info();
- if ( ( video_driver_list && !gstrcmp( video_driver_list[0],(char *)info->short_name ) )&&( video_out_drivers[i - 1]->control( VOCTRL_GUI_NOWINDOW,NULL ) == VO_TRUE ) )
+ if ( ( video_driver_list && !gstrcmp( video_driver_list[0],(char *)video_out_drivers[i - 1]->info->short_name ) )&&( video_out_drivers[i - 1]->control( VOCTRL_GUI_NOWINDOW,NULL ) == VO_TRUE ) )
{ guiIntfStruct.NoWindow=True; break; }
}
}