comparison libmpdemux/tv.c @ 10019:0ea7b9c6c27f

1000000000l default fps has been broken on ntsc for a LONG time because of this nonsense! (29.00?!?) no idea why no one caught it, i just have fps=29.97 in my config file... i hope the bsd code works; i can't test it. btw, the (int)*(void **)arg stuff is total nonsense, no idea how that even works...
author rfelker
date Tue, 29 Apr 2003 02:23:47 +0000
parents 736ca83d609f
children 4e34d468f549
comparison
equal deleted inserted replaced
10018:a0bfc974f504 10019:0ea7b9c6c27f
447 447
448 /* set FPS and FRAMETIME */ 448 /* set FPS and FRAMETIME */
449 449
450 if(!sh_video->fps) 450 if(!sh_video->fps)
451 { 451 {
452 int tmp; 452 float tmp;
453 if (funcs->control(tvh->priv, TVI_CONTROL_VID_GET_FPS, &tmp) != TVI_CONTROL_TRUE) 453 if (funcs->control(tvh->priv, TVI_CONTROL_VID_GET_FPS, &tmp) != TVI_CONTROL_TRUE)
454 sh_video->fps = 25.0f; /* on PAL */ 454 sh_video->fps = 25.0f; /* on PAL */
455 else sh_video->fps = tmp; 455 else sh_video->fps = tmp;
456 } 456 }
457 457