summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/mw.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-29 00:58:25 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-29 00:58:25 +0000
commit73d2051d619873011f0c6e053ae6b2e8bcc96c7b (patch)
tree0b5db480b97c2df05d0432a1b349fab65f089619 /Gui/mplayer/mw.c
parent4984919e0b81198fd38b5114797c2025cfb5a013 (diff)
downloadmpv-73d2051d619873011f0c6e053ae6b2e8bcc96c7b.tar.bz2
mpv-73d2051d619873011f0c6e053ae6b2e8bcc96c7b.tar.xz
- audio track handling in menu (idea from RĂ¼diger Kuhlmann)
- some userfriendly changes in menu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8313 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/mw.c')
-rw-r--r--Gui/mplayer/mw.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Gui/mplayer/mw.c b/Gui/mplayer/mw.c
index fc665761a2..9d69a8d106 100644
--- a/Gui/mplayer/mw.c
+++ b/Gui/mplayer/mw.c
@@ -270,6 +270,13 @@ void mplEventHandling( int msg,float param )
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: