MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / PlayerPrivate

Method PlayerPrivate

src/Qt/PlayerPrivate.cpp:25–32  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

23 int close_to_sync = 5;
24 // Constructor
25 PlayerPrivate::PlayerPrivate(openshot::RendererBase *rb)
26 : renderer(rb), Thread("player"), video_position(1), audio_position(0),
27 speed(1), reader(NULL), last_video_position(1), max_sleep_ms(125000), playback_frames(0), is_dirty(true)
28 {
29 videoCache = new openshot::VideoCacheThread();
30 audioPlayback = new openshot::AudioPlaybackThread(videoCache);
31 videoPlayback = new openshot::VideoPlaybackThread(rb);
32 }
33
34 // Destructor
35 PlayerPrivate::~PlayerPrivate()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected