X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shared%2Fhttpd.h;h=6c9a254307aee03f5b15b347e32c7a521a863b9a;hb=5134326314e562de25f90046b1beb4e29e2ecf40;hp=2a628594c91beb2d556c8df3459ac526287f7d50;hpb=23da824e1d61e37fbe0cc1c0f4d32052022a50ba;p=nageru diff --git a/shared/httpd.h b/shared/httpd.h index 2a62859..6c9a254 100644 --- a/shared/httpd.h +++ b/shared/httpd.h @@ -106,7 +106,8 @@ private: bool should_quit = false; // Under . std::condition_variable has_buffered_data; std::deque buffered_data; // Protected by . - size_t used_of_buffered_data = 0; // How many bytes of the first element of that is already used. Protected by . + size_t used_of_buffered_data = 0; // How many bytes of the first element of that is already used. Protected by . + size_t buffered_data_bytes = 0; // The sum of all size() in buffered_data. Protected by . size_t seen_keyframe = false; StreamType stream_type; };