X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fmain.cpp;h=7c9f49db069c325fe05242dff0845b6e37b6e744;hb=ff34ce0ad28ee369cd303a73d219bd5fed78247a;hp=58a131aa26c50e836b1b2ead40687f1f9553d57b;hpb=7188e3e948c60f78f5e2cd8756337f716de06d99;p=nageru diff --git a/futatabi/main.cpp b/futatabi/main.cpp index 58a131a..7c9f49d 100644 --- a/futatabi/main.cpp +++ b/futatabi/main.cpp @@ -20,14 +20,14 @@ extern "C" { } #include "clip_list.h" -#include "context.h" +#include "shared/context.h" #include "defs.h" -#include "disk_space_estimator.h" +#include "shared/disk_space_estimator.h" #include "shared/ffmpeg_raii.h" #include "flags.h" #include "frame_on_disk.h" #include "frame.pb.h" -#include "httpd.h" +#include "shared/httpd.h" #include "mainwindow.h" #include "player.h" #include "shared/post_to_main_thread.h" @@ -169,7 +169,7 @@ FrameOnDisk write_frame(int stream_idx, int64_t pts, const uint8_t *data, size_t const char *basename = filename.c_str(); while (strchr(basename, '/') != nullptr) { - basename = strchr(basename, '/'); + basename = strchr(basename, '/') + 1; } db->store_frame_file(basename, size, frames_this_file); }