changeset 29790:f23da710dc29

dvdnav: print ID_SID_..._LANG, just like dvd://
author reimar
date Thu, 05 Nov 2009 21:29:14 +0000
parents 9fbb75fb4e2d
children 1f0ac5166602
files stream/stream_dvdnav.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvdnav.c	Thu Nov 05 21:27:25 2009 +0000
+++ b/stream/stream_dvdnav.c	Thu Nov 05 21:29:14 2009 +0000
@@ -557,6 +557,8 @@
       tmp[2] = 0;
     }
     mp_msg(MSGT_OPEN,MSGL_STATUS,MSGTR_DVDsubtitleLanguage, i, tmp);
+    if (lang != 0xFFFF && lang && tmp[0])
+        mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_SID_%d_LANG=%s\n", i, tmp);
   }
 }