From 21515f91bbda6a394d186ebbbf7a89775710c4de Mon Sep 17 00:00:00 2001 From: nicodvb Date: Thu, 14 Dec 2006 23:11:11 +0000 Subject: show audio language in osd when playing dvdnav streams git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21620 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mplayer.c') 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); } -- cgit v1.2.3