changeset 21604:de2084d888cd

show audio language in osd when playing dvdnav streams
author nicodvb
date Thu, 14 Dec 2006 23:11:11 +0000
parents 4bfdaf8bcae5
children 10536d2a2d3a
files mplayer.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Dec 14 23:08:09 2006 +0000
+++ b/mplayer.c	Thu Dec 14 23:11:11 2006 +0000
@@ -1857,6 +1857,11 @@
                 }
             }
 #endif
+
+#ifdef USE_DVDNAV
+            else if(stream->type == STREAMTYPE_DVDNAV)
+                dvdnav_lang_from_aid(stream, audio_id, lang);
+#endif
             *(char**)arg = malloc(64);
             snprintf(*(char**)arg, 64, "(%d) %s", audio_id, lang);
         }