X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fffmpeg_capture.h;h=b0a1be2d542ce3b231bb4efe1263f43793c8b424;hb=eaba7288c4fb39ca195c9355970293bcaf088dbc;hp=8a513df971fa20f2cba71e25ac603242b9be3be3;hpb=392f9d1ccb835c05a3874c4bea163788b2c37024;p=nageru diff --git a/nageru/ffmpeg_capture.h b/nageru/ffmpeg_capture.h index 8a513df..b0a1be2 100644 --- a/nageru/ffmpeg_capture.h +++ b/nageru/ffmpeg_capture.h @@ -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;