]> git.sesse.net Git - nageru/blobdiff - nageru/ffmpeg_capture.h
Support exporting interpolated singletrack video. Probably tickles leaks in Player...
[nageru] / nageru / ffmpeg_capture.h
index 8a513df971fa20f2cba71e25ac603242b9be3be3..b0a1be2d542ce3b231bb4efe1263f43793c8b424 100644 (file)
@@ -38,7 +38,7 @@ extern "C" {
 }
 
 #include "bmusb/bmusb.h"
-#include "ffmpeg_raii.h"
+#include "shared/ffmpeg_raii.h"
 #include "ref_counted_frame.h"
 #include "quittable_sleeper.h"
 
@@ -255,6 +255,7 @@ private:
        int sws_last_width = -1, sws_last_height = -1, sws_last_src_format = -1;
        AVPixelFormat sws_dst_format = AVPixelFormat(-1);  // In practice, always initialized.
        AVRational video_timebase, audio_timebase;
+       bool is_mjpeg = false;
 
        QuittableSleeper producer_thread_should_quit;
        std::thread producer_thread;