comparison mplayer.c @ 19943:ef30bef09385

when changing chapter, in the osd print the channel number in a more natural form: 1-based (rather than 0-based)
author nicodvb
date Sat, 23 Sep 2006 10:27:32 +0000
parents 8e3785c20752
children 15ae9558e41e
comparison
equal deleted inserted replaced
19942:0983feab2dc2 19943:ef30bef09385
5138 abs_seek_pos = 1; 5138 abs_seek_pos = 1;
5139 rel_seek_secs = next_pts; 5139 rel_seek_secs = next_pts;
5140 } 5140 }
5141 if(chapter_name) { 5141 if(chapter_name) {
5142 set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, MSGTR_OSDChapter, 5142 set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, MSGTR_OSDChapter,
5143 chap, chapter_name); 5143 chap+1, chapter_name);
5144 free(chapter_name); 5144 free(chapter_name);
5145 } 5145 }
5146 } else { 5146 } else {
5147 if (seek > 0) 5147 if (seek > 0)
5148 rel_seek_secs = 1000000000.; 5148 rel_seek_secs = 1000000000.;