[MPlayer-cvslog] r25996 - in trunk: cfg-common.h libmpdemux/mf.c libmpdemux/mf.h

reimar subversion at mplayerhq.hu
Thu Feb 14 15:44:52 CET 2008


Author: reimar
Date: Thu Feb 14 15:44:52 2008
New Revision: 25996

Log:
Change mf_fps to double


Modified:
   trunk/cfg-common.h
   trunk/libmpdemux/mf.c
   trunk/libmpdemux/mf.h

Modified: trunk/cfg-common.h
==============================================================================
--- trunk/cfg-common.h	(original)
+++ trunk/cfg-common.h	Thu Feb 14 15:44:52 2008
@@ -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}
 };

Modified: trunk/libmpdemux/mf.c
==============================================================================
--- trunk/libmpdemux/mf.c	(original)
+++ trunk/libmpdemux/mf.c	Thu Feb 14 15:44:52 2008
@@ -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){

Modified: trunk/libmpdemux/mf.h
==============================================================================
--- trunk/libmpdemux/mf.h	(original)
+++ trunk/libmpdemux/mf.h	Thu Feb 14 15:44:52 2008
@@ -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



More information about the MPlayer-cvslog mailing list