From 024b4b3dda2c6e4acb3fb111fdee4de82215d6ea Mon Sep 17 00:00:00 2001 From: Chris Want Date: Mon, 15 Dec 2008 20:53:45 +0000 Subject: B Linking of blenderplayer was failing with unresolved symbols (initVideoTexture) when building without FFMPEG. Needs testing with SCons and Makefiles. --- source/gameengine/GamePlayer/ghost/GPG_Application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/gameengine/GamePlayer/ghost/GPG_Application.cpp') diff --git a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp index aa5e5835cdc..d0a2d0b05f2 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_Application.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_Application.cpp @@ -686,8 +686,9 @@ bool GPG_Application::startEngine(void) initGameKeys(); initPythonConstraintBinding(); initMathutils(); +#ifdef WITH_FFMPEG initVideoTexture(); - +#endif // Set the GameLogic.globalDict from marshal'd data, so we can // load new blend files and keep data in GameLogic.globalDict loadGamePythonConfig(m_pyGlobalDictString, m_pyGlobalDictString_Length); -- cgit v1.2.3