comparison find_sub.c @ 8369:4f60716f3513

10l
author arpi
date Thu, 05 Dec 2002 02:05:13 +0000
parents 423a19edc0a4
children 09d630a4f991
comparison
equal deleted inserted replaced
8368:1e3f010571fd 8369:4f60716f3513
17 //static subtitle* subtitles=NULL; 17 //static subtitle* subtitles=NULL;
18 static int nosub_range_start=-1; 18 static int nosub_range_start=-1;
19 static int nosub_range_end=-1; 19 static int nosub_range_end=-1;
20 20
21 extern float sub_delay; 21 extern float sub_delay;
22 extern float sub_fps;
22 23
23 void step_sub(subtitle *subtitles, float pts, int movement) { 24 void step_sub(subtitle *subtitles, float pts, int movement) {
24 int key = sub_uses_time ? (100*(pts+sub_delay)) : ((pts+sub_delay)*sub_fps); 25 int key = sub_uses_time ? (100*(pts+sub_delay)) : ((pts+sub_delay)*sub_fps);
25 26
26 if (subtitles == NULL) 27 if (subtitles == NULL)