[MPlayer-cvslog] r34544 - trunk/gui/ui/main.c
ib
subversion at mplayerhq.hu
Thu Jan 12 11:39:37 CET 2012
Author: ib
Date: Thu Jan 12 11:39:37 2012
New Revision: 34544
Log:
Fix bug with VCD stream calling DVD code.
Additionally, remove unnecessary #ifdef.
Modified:
trunk/gui/ui/main.c
Modified: trunk/gui/ui/main.c
==============================================================================
--- trunk/gui/ui/main.c Thu Jan 12 11:31:39 2012 (r34543)
+++ trunk/gui/ui/main.c Thu Jan 12 11:39:37 2012 (r34544)
@@ -392,10 +392,9 @@ set_volume:
default: movie_aspect=-1;
}
wsClearWindow( guiApp.subWindow );
-#ifdef CONFIG_DVDREAD
- if ( guiInfo.StreamType == STREAMTYPE_VCD || guiInfo.StreamType == STREAMTYPE_DVD ) uiEventHandling( ivPlayDVD, 0 );
+ if ( guiInfo.StreamType == STREAMTYPE_VCD ) uiEventHandling( evPlayVCD, 0 );
+ else if ( guiInfo.StreamType == STREAMTYPE_DVD ) uiEventHandling( ivPlayDVD, 0 );
else
-#endif
guiInfo.NewPlay=GUI_FILE_NEW;
break;
More information about the MPlayer-cvslog
mailing list