# HG changeset patch # User ib # Date 1325521500 0 # Node ID ec0ebcb1bd309828bdf1ad1ce20832f2cade4c2e # Parent af8838c2b60bd3f7fe4e0dc8fb1f563862d000a9 Remove pointless filename setting from device name. The filename will be set later during GUI_PREPARE. diff -r af8838c2b60b -r ec0ebcb1bd30 gui/ui/main.c --- a/gui/ui/main.c Mon Jan 02 16:24:06 2012 +0000 +++ b/gui/ui/main.c Mon Jan 02 16:25:00 2012 +0000 @@ -214,7 +214,6 @@ case STREAMTYPE_CDDA: guiInfoMediumClear( CLEAR_ALL - CLEAR_VCD - CLEAR_FILE ); if ( !cdrom_device ) cdrom_device=gstrdup( DEFAULT_CDROM_DEVICE ); - uiSetFileName( NULL,cdrom_device,SAME_STREAMTYPE ); if ( guiInfo.Playing != GUI_PAUSE ) { if ( !guiInfo.Track ) @@ -227,7 +226,6 @@ case STREAMTYPE_VCD: guiInfoMediumClear( CLEAR_ALL - CLEAR_VCD - CLEAR_FILE ); if ( !cdrom_device ) cdrom_device=gstrdup( DEFAULT_CDROM_DEVICE ); - uiSetFileName( NULL,cdrom_device,SAME_STREAMTYPE ); if ( guiInfo.Playing != GUI_PAUSE ) { if ( !guiInfo.Track ) @@ -240,7 +238,6 @@ case STREAMTYPE_DVD: guiInfoMediumClear( CLEAR_ALL - CLEAR_DVD - CLEAR_FILE ); if ( !dvd_device ) dvd_device=gstrdup( DEFAULT_DVD_DEVICE ); - uiSetFileName( NULL,dvd_device,SAME_STREAMTYPE ); if ( guiInfo.Playing != GUI_PAUSE ) { guiInfo.NewPlay=GUI_FILE_SAME;