summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/mw.c
diff options
context:
space:
mode:
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: