mirror of https://github.com/mpv-player/mpv
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:
parent
e4fbdd185e
commit
4671533096
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue