VideoTexture: fix video capture lagging when CPU is busy. This problem was caused...
authorBenoit Bolsee <benoit.bolsee@online.be>
Sun, 28 Mar 2010 17:50:45 +0000 (17:50 +0000)
committerBenoit Bolsee <benoit.bolsee@online.be>
Sun, 28 Mar 2010 17:50:45 +0000 (17:50 +0000)
commita99d584008f80f6f5361e1af507d8ed6bdd2fffd
treebbebe029271a6a3d9f0e6d0634aadf49475707f1
parent8ba96eb1ae5ccfb3cc61f4f8d692dd271964c1af
VideoTexture: fix video capture lagging when CPU is busy. This problem was caused by special frame handling that was appropriate for video streaming but not for video capture: drift compensation and no frame skipping.  Disable that for video capture to take into account the realtime nature of video.
source/gameengine/VideoTexture/VideoFFmpeg.cpp
source/gameengine/VideoTexture/VideoFFmpeg.h