28 #ifndef OPENSHOT_PLAYER_BASE_H 29 #define OPENSHOT_PLAYER_BASE_H 32 #include "../include/ReaderBase.h" 69 virtual void Loading() = 0;
75 virtual void Play() = 0;
78 virtual void Pause() = 0;
81 virtual int Position() = 0;
84 virtual void Seek(int64_t new_frame) = 0;
87 virtual float Speed() = 0;
90 virtual void Speed(
float new_speed) = 0;
93 virtual void Stop() = 0;
99 virtual void Reader(
ReaderBase *new_reader) = 0;
102 virtual float Volume() = 0;
105 virtual void Volume(
float new_volume) = 0;
Loading the video (display a loading animation)
Stop playing the video (clear cache, done with player)
This abstract class is the base class, used by all readers in libopenshot.
This is the base class of all Players in libopenshot.
Pause the video (holding the last displayed frame)
This namespace is the default namespace for all code in the openshot library.
PlaybackMode
This enumeration determines the mode of the video player (i.e. playing, paused, etc...)