Mercurial > mplayer.hg
changeset 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 | 833b0eb23585 |
children | 0b4acbbe9652 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)