diff 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
line wrap: on
line diff
--- a/libmpdemux/tv.c	Tue Apr 29 02:02:26 2003 +0000
+++ b/libmpdemux/tv.c	Tue Apr 29 02:23:47 2003 +0000
@@ -449,7 +449,7 @@
 
     if(!sh_video->fps)
     {
-        int tmp;
+        float tmp;
         if (funcs->control(tvh->priv, TVI_CONTROL_VID_GET_FPS, &tmp) != TVI_CONTROL_TRUE)
              sh_video->fps = 25.0f; /* on PAL */
         else sh_video->fps = tmp;