]> git.sesse.net Git - nageru/blobdiff - futatabi/jpeg_frame_view.h
Add metrics for how many frames we are decoding, but did not have the time to display.
[nageru] / futatabi / jpeg_frame_view.h
index 108aa73d0c424eb84f0a42f70dfe578ab94440f3..3f92e4c708e602819696bd57fadafd54efb61b2b 100644 (file)
@@ -62,6 +62,7 @@ private:
        std::unique_ptr<YCbCrConverter> ycbcr_converter;
        movit::EffectChain *current_chain = nullptr;  // Owned by ycbcr_converter.
 
+       bool displayed_this_frame = false;  // Owned by the UI frame.
        std::shared_ptr<Frame> current_frame;  // So that we hold on to the pixels.
        std::shared_ptr<Frame> current_secondary_frame;  // Same.