changeset 32772:87a44fc0f23d

Revert 32857: FPS should be double everywhere, not float.
author cboesch
date Sat, 05 Feb 2011 20:05:38 +0000
parents 0b4acbbe9652
children 06b75ec1b9c9
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Feb 05 19:07:31 2011 +0000
+++ b/mplayer.c	Sat Feb 05 20:05:38 2011 +0000
@@ -3499,7 +3499,7 @@
 // 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)