protect under HAVE_AUDIO
This commit is contained in:
parent
7547ab8cd4
commit
b6dfe5d6c8
|
|
@ -94,8 +94,10 @@ init_libgrutil() {
|
|||
PipeOcclusionCullTraverser::init_type();
|
||||
SceneGraphAnalyzerMeter::init_type();
|
||||
|
||||
#ifdef HAVE_AUDIO
|
||||
MovieTexture::init_type();
|
||||
MovieTexture::register_with_read_factory();
|
||||
#endif // HAVE_AUDIO
|
||||
#ifdef HAVE_OPENCV
|
||||
OpenCVTexture::init_type();
|
||||
OpenCVTexture::register_with_read_factory();
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
|
||||
#include "pandabase.h"
|
||||
|
||||
#ifdef HAVE_AUDIO
|
||||
|
||||
#include "movieVideo.h"
|
||||
#include "movieVideoCursor.h"
|
||||
#include "movieTexture.h"
|
||||
|
|
@ -671,3 +673,5 @@ unsynchronize() {
|
|||
CDWriter cdata(_cycler);
|
||||
cdata->_synchronize = 0;
|
||||
}
|
||||
|
||||
#endif // HAVE_AUDIO
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@
|
|||
#define MOVIETEXTURE_H
|
||||
|
||||
#include "pandabase.h"
|
||||
|
||||
#ifdef HAVE_AUDIO
|
||||
|
||||
#include "movieVideo.h"
|
||||
#include "audioSound.h"
|
||||
#include "pipelineCycler.h"
|
||||
|
|
@ -137,5 +140,6 @@ private:
|
|||
|
||||
#include "movieTexture.I"
|
||||
|
||||
#endif // HAVE_AUDIO
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue