summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-09 14:23:16 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-09 14:23:16 +0000
commite2e2d40437a8a316b637125d3eb9cf72b52fa4ec (patch)
tree238f1e475450fae8ea2121b5bace818d2714f5a2 /mplayer.c
parent8875fde65911f9b04fb96d2ecb49f875aa39b076 (diff)
downloadmpv-e2e2d40437a8a316b637125d3eb9cf72b52fa4ec.tar.bz2
mpv-e2e2d40437a8a316b637125d3eb9cf72b52fa4ec.tar.xz
For a request by Gabu, i've cut & fix a part of Joey's dvd aid switching
patch, to always use the first audio track of DVD, unless -alang or -aid is used. I think it will be almost always teh id 128. (actual number comes from the .IFO) (reported ok - Gabu) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10551 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 4a8278ffe3..650c4d0b32 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1319,7 +1319,7 @@ if(stream_dump_type==5){
#ifdef USE_DVDREAD
if(stream->type==STREAMTYPE_DVD){
current_module="dvd lang->id";
- if(audio_lang && audio_id==-1) audio_id=dvd_aid_from_lang(stream,audio_lang);
+ if(audio_id==-1) audio_id=dvd_aid_from_lang(stream,audio_lang);
if(dvdsub_lang && dvdsub_id==-1) dvdsub_id=dvd_sid_from_lang(stream,dvdsub_lang);
current_module=NULL;
}