blender/source/gameengine
Sergey Sharybin 370a2d6917 Fix T53857: Incorrect framerate for videos imported from OBS
This is an issue with which value to trust: fps vs. tbr. They both cam be
somewhat broken. Currently the idea is:

- If file was saved with FFmpeg AND we are decoding with FFmpeg we trust tbr.
- If we are decoding with Libav we use fps (there does not seem to be tbr in
  Libav, unless i'm missing something).
- All other cases we use fps.

Seems to work all good for files from T53857, T54148 and T51153. Ideally we
would need to collect some amount of regression files to make further tweaks
more scientific.

Reviewers: mont29

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D3083
2018-03-09 10:32:17 +01:00
..
BlenderRoutines Unifying access to GLEW from the Blender Game Engine 2017-05-11 16:08:03 +02:00
Converter Cleanup: add _types.h suffix to DNA headers 2018-02-07 11:14:08 +11:00
Expressions Fix for recent fix in fc890cd, cstdint is c++11 only so don't use it yet. 2017-08-21 19:05:17 +02:00
GameLogic Fix strict compiler warning in BGE when linking directly to SDL 2017-07-21 16:07:59 +02:00
GamePlayer Fix T51889: new file or load factory settings results in broken UI. 2017-07-08 00:54:05 +02:00
Ketsji Fix BGE sound actuator property access 2017-11-18 17:16:25 +11:00
Network Remove SCons building system 2016-01-04 14:20:48 +05:00
Physics Cleanup: add _types.h suffix to DNA headers 2018-02-07 11:14:08 +11:00
Rasterizer BGE: Use BLI's stringify instead of implementing it again 2017-05-11 16:46:43 +02:00
SceneGraph Remove SCons building system 2016-01-04 14:20:48 +05:00
VideoTexture Fix T53857: Incorrect framerate for videos imported from OBS 2018-03-09 10:32:17 +01:00
CMakeLists.txt CMake: Enable strict flags for C++ 2015-03-27 18:23:31 +05:00