mirror of
https://github.com/mpv-player/mpv
synced 2025-03-05 05:37:37 +00:00
with -identify show the title being described
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25195 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
88997fd1ae
commit
2e4f57d04d
@ -354,7 +354,7 @@ static void identify_chapters(dvdnav_t *nav, uint32_t title)
|
||||
uint32_t n, i, t;
|
||||
n = dvdnav_describe_title_chapters(nav, title, &parts);
|
||||
if(parts) {
|
||||
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "CHAPTERS: ");
|
||||
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "TITLE %u, CHAPTERS: ", title);
|
||||
for(i=0; i<n; i++) {
|
||||
t = parts[i] / 90000;
|
||||
mp_msg(MSGT_IDENTIFY, MSGL_INFO, "%02d:%02d:%02d,", t/3600, (t/60)%60, t%60);
|
||||
|
Loading…
Reference in New Issue
Block a user