#include "clip_list.h"
#include "context.h"
#include "defs.h"
+#include "disk_space_estimator.h"
#include "mainwindow.h"
#include "ffmpeg_raii.h"
#include "httpd.h"
fwrite(pkt.data, pkt.size, 1, fp);
fclose(fp);
+ global_disk_space_estimator->report_write(filename, pts);
+
post_to_main_thread([pkt, pts] {
if (pkt.stream_index == 0) {
global_mainwindow->ui->input1_display->setFrame(pkt.stream_index, pts, /*interpolated=*/false);