assign missing frametime as 1.0/fps; patch by Carl Eigen Hoyos

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22372 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2007-02-27 21:20:24 +00:00
parent e4fbdd185e
commit 4671533096
1 changed files with 1 additions and 0 deletions

View File

@ -279,6 +279,7 @@ static void needVideoFrameRate(demuxer_t* demuxer,
int fps = (int)(subsession->videoFPS());
if (fps != 0) {
sh_video->fps = fps;
sh_video->frametime = 1.0f/fps;
return;
}