summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-23 10:27:32 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-23 10:27:32 +0000
commitcf23d6d116f40ff97cd3ecc929370195d18ea49f (patch)
treec28fc68168a36ef13dfd083dbd481fafcfb6c25a /mplayer.c
parent067c55bb46be8afccadc16c9b57d7d7ea264af25 (diff)
downloadmpv-cf23d6d116f40ff97cd3ecc929370195d18ea49f.tar.bz2
mpv-cf23d6d116f40ff97cd3ecc929370195d18ea49f.tar.xz
when changing chapter, in the osd print the channel number in a more natural form:
1-based (rather than 0-based) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19949 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 311e6ae43b..ad8de687e7 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -5140,7 +5140,7 @@ if(step_sec>0) {
}
if(chapter_name) {
set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, MSGTR_OSDChapter,
- chap, chapter_name);
+ chap+1, chapter_name);
free(chapter_name);
}
} else {