| 77 | std::vector<int64_t> requests; |
| 78 | |
| 79 | TrackingMaskReader(int fps_num, int fps_den, int64_t length_frames) { |
| 80 | info.has_video = true; |
| 81 | info.has_audio = false; |
| 82 | info.has_single_image = false; |
| 83 | info.width = width; |
| 84 | info.height = height; |
| 85 | info.fps = Fraction(fps_num, fps_den); |
| 86 | info.video_length = length_frames; |
| 87 | info.duration = static_cast<float>(length_frames / info.fps.ToDouble()); |
| 88 | info.sample_rate = 48000; |
| 89 | info.channels = 2; |
| 90 | info.audio_stream_index = -1; |
| 91 | } |
| 92 | |
| 93 | openshot::CacheBase* GetCache() override { return &cache; } |
| 94 | bool IsOpen() override { return is_open; } |