From 9ad4c9e6b0b35af794068ba8d9efa34a105f2525 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Sat, 8 Apr 2023 09:13:16 -0400 Subject: LibWeb: Log correct error object when failing to decode a video sample --- Userland/Libraries/LibWeb/HTML/VideoTrack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/HTML/VideoTrack.cpp b/Userland/Libraries/LibWeb/HTML/VideoTrack.cpp index 62c31d341b..72dc4b5c72 100644 --- a/Userland/Libraries/LibWeb/HTML/VideoTrack.cpp +++ b/Userland/Libraries/LibWeb/HTML/VideoTrack.cpp @@ -68,7 +68,7 @@ RefPtr 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 {}; } -- cgit v1.2.3