[MPlayer-cvslog] r21618 - trunk/mplayer.c

nicodvb subversion at mplayerhq.hu
Thu Dec 14 23:37:13 CET 2006


Author: nicodvb
Date: Thu Dec 14 23:37:13 2006
New Revision: 21618

Modified:
   trunk/mplayer.c

Log:
call dvd_lang_from_aid() only if stream_type is DVD

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Thu Dec 14 23:37:13 2006
@@ -1848,7 +1848,7 @@
             if (demuxer->type == DEMUXER_TYPE_MATROSKA)
                 demux_mkv_get_audio_lang(demuxer, audio_id, lang, 9);
 #ifdef USE_DVDREAD
-            else {
+            else if(stream->type == STREAMTYPE_DVD) {
                 int code = dvd_lang_from_aid(stream, audio_id);
                 if (code) {
                     lang[0] = code >> 8;



More information about the MPlayer-cvslog mailing list