|
|
@ -58,6 +58,14 @@ void VideoSource::togglePause(){ |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
void VideoSource::stop(){ |
|
|
|
#ifdef TARGET_RASPBERRY_PI |
|
|
|
_omxPlayer->setPaused(true); |
|
|
|
#else |
|
|
|
_videoPlayer->setPaused(true); |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
#ifndef TARGET_RASPBERRY_PI |
|
|
|
void VideoSource::update(ofEventArgs & args){ |
|
|
|
if(_videoPlayer != 0){ |
|
|
@ -73,4 +81,4 @@ void VideoSource::togglePause(){ |
|
|
|
#endif |
|
|
|
|
|
|
|
} // namespace piMapper
|
|
|
|
} // namespace ofx
|
|
|
|
} // namespace ofx
|
|
|
|