+FFmpegCapture::FFmpegCapture(const std::vector<std::string> &filenames, unsigned width, unsigned height)
+ : filenames(filenames), width(width), height(height), video_timebase{1, 1}
+{
+ description = "Video: " + filenames[0];
+
+ last_frame = steady_clock::now();
+ play_once = true;
+
+ avformat_network_init(); // In case someone wants this.
+}
+