[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36957] trunk/blender/source/gameengine/ VideoTexture/VideoFFmpeg.cpp: fix for ffmpeg linking in BGE ( patch by Jens Verwiebe (jensverwiebe) over IRC)

Dalai Felinto dfelinto at gmail.com
Fri May 27 23:13:44 CEST 2011


Revision: 36957
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36957
Author:   dfelinto
Date:     2011-05-27 21:13:44 +0000 (Fri, 27 May 2011)
Log Message:
-----------
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);

Modified Paths:
--------------
    trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp

Modified: trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp	2011-05-27 20:57:46 UTC (rev 36956)
+++ trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp	2011-05-27 21:13:44 UTC (rev 36957)
@@ -641,7 +641,7 @@
 	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;




More information about the Bf-blender-cvs mailing list