mirror of
https://github.com/mpv-player/mpv
synced 2025-01-27 10:03:32 +00:00
Change mf_fps to double
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25996 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e78f2ea6dc
commit
1b2d30c221
@ -565,7 +565,7 @@ const m_option_t vivoopts_conf[]={
|
||||
|
||||
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 @@ const m_option_t mfopts_conf[]={
|
||||
{"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}
|
||||
};
|
||||
|
@ -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){
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user