# HG changeset patch # User cboesch # Date 1296932702 0 # Node ID 5f64b983624a649ae238466322806bc7bedfa2df # Parent 833b0eb235854ee08935d306e75a744bc10da442 FPS are in float in sh_video, not double. Original patch by rodries/wiimc.org. This is necessary for the next fix to come. diff -r 833b0eb23585 -r 5f64b983624a mplayer.c --- a/mplayer.c Sat Feb 05 14:04:07 2011 +0000 +++ b/mplayer.c Sat Feb 05 19:05:02 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 - 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)