Constructor
| 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() |
nothing calls this directly
no outgoing calls
no test coverage detected