Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-02-23 00:37:14 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-02-23 00:37:14 +0400
commitb3c08969674ea7be7929fc519508814f2705cf5b (patch)
tree98cfc9bde0d5beb85ab10ab75062ef8639b7c9fd /source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
parent0945c3b43bc27e98693b1b37e16e1a5e16763572 (diff)
BGE: Fix for bug #34219 "Webcam support under Linux in Standalone broken" reported by Thomas Achtner (offtools).
No one bothered to update the player for ffmpeg changes made in August 2012. This meant the player was no longer calling avdevice_register_all(), and ffmpeg would fail to open web cam streams.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_ghost.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
index 5b2cfddd141..77275ce5506 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -449,6 +449,10 @@ int main(int argc, char** argv)
IMB_init();
BKE_images_init();
+#ifdef WITH_FFMPEG
+ IMB_ffmpeg_init();
+#endif
+
// Setup builtin font for BLF (mostly copied from creator.c, wm_init_exit.c and interface_style.c)
BLF_init(11, U.dpi);
BLF_lang_init();