diff options
author | 2003-04-29 02:23:47 +0000 | |
---|---|---|
committer | 2003-04-29 02:23:47 +0000 | |
commit | eb0a6969bf5d2c7326a22b830f4d039759a06e12 (patch) | |
tree | 19bda282ef78d9ab644b784208714f0cf474a044 /libmpdemux/tvi_bsdbt848.c | |
parent | a102af720b386e2ace5cfe0e7d247342c151e708 (diff) |
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
Diffstat (limited to 'libmpdemux/tvi_bsdbt848.c')
-rw-r--r-- | libmpdemux/tvi_bsdbt848.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); /* |