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

cboesch subversion at mplayerhq.hu
Sat Feb 5 20:05:02 CET 2011


Author: cboesch
Date: Sat Feb  5 20:05:02 2011
New Revision: 32857

Log:
FPS are in float in sh_video, not double.

Original patch by rodries/wiimc.org. This is necessary for the next fix to come.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sat Feb  5 15:04:07 2011	(r32856)
+++ trunk/mplayer.c	Sat Feb  5 20:05:02 2011	(r32857)
@@ -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
-  double fps = mpctx->sh_video ? mpctx->sh_video->fps : 25;
+  float 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