summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}