Increase valid frame rates to 240 fps since many cameras now support this higher frame rate

This commit is contained in:
Rich Alloway
2018-05-15 15:49:11 -04:00
parent 7fc657c82b
commit f6eb6ff96b

View File

@@ -399,7 +399,7 @@ void FFmpegReader::UpdateVideoInfo()
}
// Override an invalid framerate
if (info.fps.ToFloat() > 120.0f || (info.fps.num == 0 || info.fps.den == 0))
if (info.fps.ToFloat() > 240.0f || (info.fps.num == 0 || info.fps.den == 0))
{
// Set a few important default video settings (so audio can be divided into frames)
info.fps.num = 24;