changeset 25964:cb07fc632de1

Change mf_fps to double
author reimar
date Thu, 14 Feb 2008 14:44:52 +0000
parents 4f59356268a0
children 4cd12675cfbb
files cfg-common.h libmpdemux/mf.c libmpdemux/mf.h
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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}
 };
--- 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){
--- 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