]> git.sesse.net Git - nageru/blobdiff - nageru/ffmpeg_capture.h
Add a hack to FFmpegCapture for decoding Futatabi's Y'CbCr streams correctly.
[nageru] / nageru / ffmpeg_capture.h
index 31e94ab41fefc103b150b5319877554450dfa720..b0a1be2d542ce3b231bb4efe1263f43793c8b424 100644 (file)
@@ -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;