[MPlayer-cvslog] r32859 - trunk/mplayer.c

cboesch subversion at mplayerhq.hu
Sat Feb 5 21:05:38 CET 2011


Author: cboesch
Date: Sat Feb  5 21:05:38 2011
New Revision: 32859

Log:
Revert 32857: FPS should be double everywhere, not float.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sat Feb  5 20:07:31 2011	(r32858)
+++ trunk/mplayer.c	Sat Feb  5 21:05:38 2011	(r32859)
@@ -3499,7 +3499,7 @@ if(1 || mpctx->sh_video) {
 // after reading video params we should load subtitles because
 // we know fps so now we can adjust subtitle time to ~6 seconds AST
 // check .sub
-  float fps = mpctx->sh_video ? mpctx->sh_video->fps : 25;
+  double fps = mpctx->sh_video ? mpctx->sh_video->fps : 25;
   current_module="read_subtitles_file";
   load_subtitles(filename, fps, add_subtitles);
   if (mpctx->set_of_sub_size > 0)


More information about the MPlayer-cvslog mailing list