# HG changeset patch # User reimar # Date 1203000292 0 # Node ID cb07fc632de1739911a2d8ecad93ae748bc9d0b8 # Parent 4f59356268a0254ec000c53fdde617cc2b498db8 Change mf_fps to double diff -r 4f59356268a0 -r cb07fc632de1 cfg-common.h --- a/cfg-common.h Thu Feb 14 14:39:49 2008 +0000 +++ b/cfg-common.h Thu Feb 14 14:44:52 2008 +0000 @@ -565,7 +565,7 @@ extern int mf_w; extern int mf_h; -extern float mf_fps; +extern double mf_fps; extern char * mf_type; extern m_obj_settings_t* vf_settings; extern m_obj_list_t vf_obj_list; @@ -574,7 +574,7 @@ {"on", "-mf on has been removed, use mf:// instead.\n", CONF_TYPE_PRINT, 0, 0, 1, NULL}, {"w", &mf_w, CONF_TYPE_INT, 0, 0, 0, NULL}, {"h", &mf_h, CONF_TYPE_INT, 0, 0, 0, NULL}, - {"fps", &mf_fps, CONF_TYPE_FLOAT, 0, 0, 0, NULL}, + {"fps", &mf_fps, CONF_TYPE_DOUBLE, 0, 0, 0, NULL}, {"type", &mf_type, CONF_TYPE_STRING, 0, 0, 0, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; diff -r 4f59356268a0 -r cb07fc632de1 libmpdemux/mf.c --- a/libmpdemux/mf.c Thu Feb 14 14:39:49 2008 +0000 +++ b/libmpdemux/mf.c Thu Feb 14 14:44:52 2008 +0000 @@ -25,7 +25,7 @@ int mf_w = 0; //352; // let codecs to detect it int mf_h = 0; //288; -float mf_fps = 25.0; +double mf_fps = 25.0; char * mf_type = NULL; //"jpg"; mf_t* open_mf(char * filename){ diff -r 4f59356268a0 -r cb07fc632de1 libmpdemux/mf.h --- a/libmpdemux/mf.h Thu Feb 14 14:39:49 2008 +0000 +++ b/libmpdemux/mf.h Thu Feb 14 14:44:52 2008 +0000 @@ -4,7 +4,7 @@ extern int mf_w; extern int mf_h; -extern float mf_fps; +extern double mf_fps; extern char * mf_type; typedef struct