Mercurial > mplayer.hg
diff mplayer.c @ 10550:7860a71ba82c
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)
author | gabucino |
---|---|
date | Sat, 09 Aug 2003 14:23:16 +0000 |
parents | 141141fdd250 |
children | 2bb2903dfb7e |
line wrap: on
line diff
--- a/mplayer.c Sat Aug 09 12:07:18 2003 +0000 +++ b/mplayer.c Sat Aug 09 14:23:16 2003 +0000 @@ -1319,7 +1319,7 @@ #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; }