1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

LibWeb: Log correct error object when failing to decode a video sample

This commit is contained in:
Timothy Flynn 2023-04-08 09:13:16 -04:00 committed by Linus Groh
parent 8dd5bf7f11
commit 9ad4c9e6b0

View file

@ -68,7 +68,7 @@ RefPtr<Gfx::Bitmap> VideoTrack::next_frame()
while (!decoded_frame) {
auto result = m_decoder.receive_sample(frame_sample.value()->data());
if (result.is_error()) {
dbgln("VideoTrack: Error receiving video sample data: {}", frame_sample.error().description());
dbgln("VideoTrack: Error receiving video sample data: {}", result.error().description());
return {};
}