Mercurial > mplayer.hg
diff mplayer.c @ 32770:5f64b983624a
FPS are in float in sh_video, not double.
Original patch by rodries/wiimc.org. This is necessary for the next fix to come.
author | cboesch |
---|---|
date | Sat, 05 Feb 2011 19:05:02 +0000 |
parents | 08deb5816d9c |
children | 87a44fc0f23d |
line wrap: on
line diff
--- 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)