mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-24 07:05:39 +00:00
31 lines
525 B
C++
31 lines
525 B
C++
#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
|
|
|