X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fvideo_stream.h;h=26cb7c808a537af72d0f01cccbc4f0331185a912;hb=c664eca0541eb9e813c0ead7fa596200eb51b45b;hp=1b3358735344adbc009ccccf2eb5ca710ba60f95;hpb=8e88294902b4b6f43c8db83dbf04830b5b9d2bfd;p=nageru diff --git a/futatabi/video_stream.h b/futatabi/video_stream.h index 1b33587..26cb7c8 100644 --- a/futatabi/video_stream.h +++ b/futatabi/video_stream.h @@ -114,8 +114,6 @@ private: // For original frames only. Made move-only so we know explicitly // we don't copy these ~200 kB files around inadvertedly. - // - // TODO: Consider using vector instead, so we save one copy. std::unique_ptr encoded_jpeg; // For everything except original frames. @@ -160,7 +158,7 @@ private: GLuint last_flow_tex = 0; FrameOnDisk last_frame1, last_frame2; - std::vector last_frame; + std::string last_frame; }; #endif // !defined(_VIDEO_STREAM_H)