changeset 29788:f60a8ab8c31c

Make dvdnav also print info about audio streams with unknown language, just like dvd://
author reimar
date Thu, 05 Nov 2009 21:26:23 +0000
parents efe4987aac4d
children 9fbb75fb4e2d
files stream/stream_dvdnav.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Thu Nov 05 21:22:38 2009 +0000
+++ b/stream/stream_dvdnav.c	Thu Nov 05 21:26:23 2009 +0000
@@ -538,9 +538,9 @@
     if(format == 0xFFFF || format > 6)
       format = 1; //unknown
     id = i + base[format];
-    if (lang != 0xFFFF) {
       mp_msg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDaudioStreamInfo, i,
              dvd_audio_stream_types[format], dvd_audio_stream_channels[channels], tmp, id);
+    if (lang != 0xFFFF) {
       if(lang && tmp[0])
         mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_AID_%d_LANG=%s\n", id, tmp);
     }