mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
updating
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8152 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -213,9 +213,8 @@ void ShowPreferences( void )
|
||||
while ( video_out_drivers[i] )
|
||||
if ( video_out_drivers[i++]->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 ) ) old_video_driver=c; c++;
|
||||
tmp[0]=(char *)info->short_name; tmp[1]=(char *)info->name; gtk_clist_append( GTK_CLIST( CLVDrivers ),tmp );
|
||||
if ( video_driver_list && !gstrcmp( video_driver_list[0],(char *)video_out_drivers[i - 1]->info->short_name ) ) old_video_driver=c; c++;
|
||||
tmp[0]=(char *)video_out_drivers[i - 1]->info->short_name; tmp[1]=(char *)video_out_drivers[i - 1]->info->name; gtk_clist_append( GTK_CLIST( CLVDrivers ),tmp );
|
||||
}
|
||||
gtk_clist_select_row( GTK_CLIST( CLVDrivers ),old_video_driver,0 );
|
||||
gtk_clist_get_text( GTK_CLIST( CLVDrivers ),old_video_driver,0,(char **)&vo_driver );
|
||||
|
||||
Reference in New Issue
Block a user