1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:37:36 +00:00

LibVideo: Remove unnecessary dbgln calls

Debug prints are expensive, so doing them every frame seems excessive
now that the decoder is completely functional on some test videos.
This commit is contained in:
Zaggy1024 2022-09-25 04:33:51 -05:00 committed by Andrew Kaster
parent 7dcd5ed206
commit 63ba01cad2
2 changed files with 1 additions and 8 deletions

View file

@ -103,7 +103,6 @@ DecoderErrorOr<void> Decoder::allocate_buffers()
for (size_t plane = 0; plane < 3; plane++) {
auto size = m_parser->get_decoded_size_for_plane(plane);
dbgln("Allocating buffers for plane {} with size {}x{} ({})", plane, size.width(), size.height(), buffer_size(size));
auto& temp_buffer = get_temp_buffer(plane);
temp_buffer.clear_with_capacity();