#ifdef _RPI_ #ifndef _VIDEOPLAYERCOMPONENT_H_ #define _VIDEOPLAYERCOMPONENT_H_ #include "platform.h" #include GLHEADER #include "components/VideoComponent.h" class VideoPlayerComponent : public VideoComponent { public: VideoPlayerComponent(Window* window); virtual ~VideoPlayerComponent(); void render(const Eigen::Affine3f& parentTrans) override; private: // Start the video Immediately virtual void startVideo(); // Stop the video virtual void stopVideo(); private: pid_t mPlayerPid; }; #endif #endif