mirror of https://github.com/mpv-player/mpv
show audio language in osd when playing dvdnav streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21620 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b55a18019f
commit
21515f91bb
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue