diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2011-05-28 01:13:44 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2011-05-28 01:13:44 +0400 |
commit | a9467182fb00be9fb6dd276e80b69fb650b2cac3 (patch) | |
tree | c79216f169b5a2cfdd65e0742552109ecbf2d303 /source/gameengine/VideoTexture | |
parent | 18ff3d5200842ac87d783442580d42e00b0ab8f6 (diff) |
fix for ffmpeg linking in BGE (patch by Jens Verwiebe (jensverwiebe) over IRC)
- av_parse_video_rate(&frameRate, rateStr);
+ av_parse_video_frame_rate(&frameRate, rateStr);
Diffstat (limited to 'source/gameengine/VideoTexture')
-rw-r--r-- | source/gameengine/VideoTexture/VideoFFmpeg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/VideoFFmpeg.cpp b/source/gameengine/VideoTexture/VideoFFmpeg.cpp index f8274756c8b..532467abf77 100644 --- a/source/gameengine/VideoTexture/VideoFFmpeg.cpp +++ b/source/gameengine/VideoTexture/VideoFFmpeg.cpp @@ -641,7 +641,7 @@ void VideoFFmpeg::openCam (char * file, short camIdx) if (m_captRate <= 0.f) m_captRate = defFrameRate; sprintf(rateStr, "%f", m_captRate); - av_parse_video_rate(&frameRate, rateStr); + av_parse_video_frame_rate(&frameRate, rateStr); // populate format parameters // need to specify the time base = inverse of rate formatParams.time_base.num = frameRate.den; |