comparison libmpdemux/tvi_bsdbt848.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 1ebf4c3ab032
children 6377c7d0459e
comparison
equal deleted inserted replaced
10018:a0bfc974f504 10019:0ea7b9c6c27f
91 /* Video */ 91 /* Video */
92 char *btdev; 92 char *btdev;
93 int videoready; 93 int videoready;
94 int btfd; 94 int btfd;
95 int source; 95 int source;
96 int maxfps; 96 float maxfps;
97 int fps; 97 float fps;
98 int iformat; 98 int iformat;
99 int maxheight; 99 int maxheight;
100 int maxwidth; 100 int maxwidth;
101 struct meteor_geomet geom; 101 struct meteor_geomet geom;
102 struct meteor_capframe capframe; 102 struct meteor_capframe capframe;
417 case TVI_CONTROL_VID_GET_HEIGHT: 417 case TVI_CONTROL_VID_GET_HEIGHT:
418 (int)*(void **)arg = priv->geom.rows; 418 (int)*(void **)arg = priv->geom.rows;
419 return(TVI_CONTROL_TRUE); 419 return(TVI_CONTROL_TRUE);
420 420
421 case TVI_CONTROL_VID_GET_FPS: 421 case TVI_CONTROL_VID_GET_FPS:
422 (int)*(void **)arg = (int)priv->fps; 422 *(float *)arg = priv->fps;
423 return(TVI_CONTROL_TRUE); 423 return(TVI_CONTROL_TRUE);
424 424
425 /* 425 /*
426 case TVI_CONTROL_VID_SET_FPS: 426 case TVI_CONTROL_VID_SET_FPS:
427 priv->fps = (int)*(void **)arg; 427 priv->fps = (int)*(void **)arg;