28 #ifndef OPENSHOT_VIDEO_CACHE_THREAD_H 29 #define OPENSHOT_VIDEO_CACHE_THREAD_H 31 #include "../../include/OpenMPUtilities.h" 32 #include "../../include/ReaderBase.h" 33 #include "../../include/RendererBase.h" 38 using juce::WaitableEvent;
45 std::shared_ptr<Frame> frame;
49 int64_t current_display_frame;
59 int64_t getCurrentFramePosition();
62 int getSpeed()
const {
return speed; }
68 void Seek(int64_t new_position);
71 void setCurrentFramePosition(int64_t current_frame_number);
74 void setSpeed(
int new_speed) { speed = new_speed; }
83 void Reader(
ReaderBase *new_reader) { reader=new_reader; Play(); };
92 #endif // OPENSHOT_VIDEO_CACHE_THREAD_H
This class is used to playback a video from a reader.
This abstract class is the base class, used by all readers in libopenshot.
The private part of QtPlayer class, which contains an audio thread and video thread, and controls the video timing and audio synchronization code.
This namespace is the default namespace for all code in the openshot library.