Browse Source

Solve minor problem with compiling OMX related things on Mac

master
Krisjanis Rijnieks 9 years ago
parent
commit
75caaf0963
  1. 4
      src/Sources/OMXPlayerCache.cpp
  2. 5
      src/Sources/OMXPlayerCache.h

4
src/Sources/OMXPlayerCache.cpp

@ -1,5 +1,7 @@
#include "OMXPlayerCache.h" #include "OMXPlayerCache.h"
#ifdef TARGET_RASPBERRY_PI
namespace ofx { namespace ofx {
namespace piMapper { namespace piMapper {
@ -40,3 +42,5 @@ void OMXPlayerCache::unload(string moviePath){
} // namespace piMapper } // namespace piMapper
} // namespace ofx } // namespace ofx
#endif

5
src/Sources/OMXPlayerCache.h

@ -1,9 +1,12 @@
#pragma once #pragma once
#ifdef TARGET_RASPBERRY_PI
#include "ofMain.h" #include "ofMain.h"
#include "ofxOMXPlayer.h" #include "ofxOMXPlayer.h"
#include "VideoSource.h" #include "VideoSource.h"
namespace ofx { namespace ofx {
namespace piMapper { namespace piMapper {
@ -22,3 +25,5 @@ class OMXPlayerCache {
} // namespace piMapper } // namespace piMapper
} // namespace ofx } // namespace ofx
#endif

Loading…
Cancel
Save