[Mplayer-cvslog] CVS: main/Gui/mplayer mw.c,1.94,1.95
Zoltan Ponekker
pontscho at mplayerhq.hu
Fri Nov 29 01:58:27 CET 2002
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv16537/Gui/mplayer
Modified Files:
mw.c
Log Message:
- audio track handling in menu (idea from Rüdiger Kuhlmann)
- some userfriendly changes in menu
Index: mw.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- mw.c 28 Nov 2002 19:01:45 -0000 1.94
+++ mw.c 29 Nov 2002 00:58:24 -0000 1.95
@@ -270,6 +270,13 @@
case evSetURL:
gtkShow( evPlayNetwork,NULL );
break;
+
+ case evSetAudio:
+ if ( !guiIntfStruct.demuxer ) break;
+ audio_id=(int)param;
+ if ( guiIntfStruct.StreamType == STREAMTYPE_DVD ) goto play;
+ guiIntfStruct.FilenameChanged=1;
+ break;
#ifdef HAVE_VCD
case evSetVCDTrack:
More information about the MPlayer-cvslog
mailing list