Revision: 17349
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=17349
Author:   ben2610
Date:     2008-11-06 17:01:17 +0100 (Thu, 06 Nov 2008)

Log Message:
-----------
VideoTexture: fix compile error when FFmpeg is disabled.

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

Modified: trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp
===================================================================
--- trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp        
2008-11-06 11:26:09 UTC (rev 17348)
+++ trunk/blender/source/gameengine/VideoTexture/VideoFFmpeg.cpp        
2008-11-06 16:01:17 UTC (rev 17349)
@@ -21,6 +21,8 @@
 */
 
 // INT64_C fix for some linux machines (C99ism)
+#ifdef WITH_FFMPEG
+
 #define __STDC_CONSTANT_MACROS
 #include <stdint.h>
 
@@ -33,7 +35,6 @@
 #include "Exception.h"
 #include "VideoFFmpeg.h"
 
-#ifdef WITH_FFMPEG
 
 // default framerate
 const double defFrameRate = 25.0;
@@ -274,6 +275,7 @@
                if (m_imageName.Ptr() != filename)
                        m_imageName = filename;
                m_preseek = 0;
+               m_avail = false;
                play();
        }
 


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to