[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54764] trunk/blender/source/gameengine/ GamePlayer/ghost/GPG_ghost.cpp: BGE: Fix for bug #34219 " Webcam support under Linux in Standalone broken" reported by Thomas Achtner (offtools).

Mitchell Stokes mogurijin at gmail.com
Fri Feb 22 21:37:16 CET 2013


Revision: 54764
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54764
Author:   moguri
Date:     2013-02-22 20:37:14 +0000 (Fri, 22 Feb 2013)
Log Message:
-----------
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.

Modified Paths:
--------------
    trunk/blender/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp

Modified: trunk/blender/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
===================================================================
--- trunk/blender/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp	2013-02-22 17:45:04 UTC (rev 54763)
+++ trunk/blender/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp	2013-02-22 20:37:14 UTC (rev 54764)
@@ -449,6 +449,10 @@
 	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();




More information about the Bf-blender-cvs mailing list