From eb0a6969bf5d2c7326a22b830f4d039759a06e12 Mon Sep 17 00:00:00 2001 From: rfelker Date: Tue, 29 Apr 2003 02:23:47 +0000 Subject: 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... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10020 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/tvi_bsdbt848.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmpdemux/tvi_bsdbt848.c') diff --git a/libmpdemux/tvi_bsdbt848.c b/libmpdemux/tvi_bsdbt848.c index 5460b4750c..6b1d01750a 100644 --- a/libmpdemux/tvi_bsdbt848.c +++ b/libmpdemux/tvi_bsdbt848.c @@ -93,8 +93,8 @@ typedef struct { int videoready; int btfd; int source; - int maxfps; - int fps; + float maxfps; + float fps; int iformat; int maxheight; int maxwidth; @@ -419,7 +419,7 @@ static int control(priv_t *priv, int cmd, void *arg) return(TVI_CONTROL_TRUE); case TVI_CONTROL_VID_GET_FPS: - (int)*(void **)arg = (int)priv->fps; + *(float *)arg = priv->fps; return(TVI_CONTROL_TRUE); /* -- cgit v1.2.3