aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-14 23:11:11 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-14 23:11:11 +0000
commit21515f91bbda6a394d186ebbbf7a89775710c4de (patch)
treeee60343432d3f42777519a47525a3c3111adc88e
parentb55a18019fec460902b6a1f1e5d598486e0fc957 (diff)
show audio language in osd when playing dvdnav streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21620 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mplayer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mplayer.c b/mplayer.c
index dc82adec0b..d36c7d86a3 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1857,6 +1857,11 @@ static int mp_property_audio(m_option_t* prop,int action,void* arg) {
}
}
#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);
}