Constructor
| 24 | { |
| 25 | // Constructor |
| 26 | VideoCacheThread::VideoCacheThread() |
| 27 | : Thread("video-cache") |
| 28 | , speed(0) |
| 29 | , last_speed(1) |
| 30 | , last_dir(1) // assume forward (+1) on first launch |
| 31 | , userSeeked(false) |
| 32 | , preroll_on_next_fill(false) |
| 33 | , clear_cache_on_next_fill(false) |
| 34 | , scrub_active(false) |
| 35 | , requested_display_frame(1) |
| 36 | , current_display_frame(1) |
| 37 | , cached_frame_count(0) |
| 38 | , min_frames_ahead(4) |
| 39 | , timeline_max_frame(0) |
| 40 | , reader(nullptr) |
| 41 | , force_directional_cache(false) |
| 42 | , last_cached_index(0) |
| 43 | , seen_timeline_cache_epoch(0) |
| 44 | , timeline_cache_epoch_initialized(false) |
| 45 | { |
| 46 | } |
| 47 | |
| 48 | // Destructor |
| 49 | VideoCacheThread::~VideoCacheThread() |
nothing calls this directly
no outgoing calls
no test coverage detected