rpi_player/app/vlc_scene.h

33 lines
430 B
C
Raw Normal View History

#ifndef VLC_SCENE_H
#define VLC_SCENE_H
#include "scene.h"
#include <SDL.h>
#include "vlc/vlc.h"
class VLCScene : public Scene {
public:
void event(const SDL_Event &ev);
void update(float delta);
void render();
VLCScene();
~VLCScene();
SDL_Texture *texture;
SDL_mutex *mutex;
int n;
libvlc_instance_t *libvlc;
libvlc_media_t *m;
libvlc_media_player_t *mp;
bool r;
int done;
int action;
int pause;
};
#endif