[MPlayer-cvslog] r19949 - trunk/mplayer.c

nicodvb subversion at mplayerhq.hu
Sat Sep 23 12:27:32 CEST 2006


Author: nicodvb
Date: Sat Sep 23 12:27:32 2006
New Revision: 19949

Modified:
   trunk/mplayer.c

Log:
when changing chapter, in the osd print the channel number in a more natural form:
1-based (rather than 0-based)


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sat Sep 23 12:27:32 2006
@@ -5140,7 +5140,7 @@
             }
             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 {



More information about the MPlayer-cvslog mailing list