summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-04-08 09:13:16 -0400
committerLinus Groh <mail@linusgroh.de>2023-04-08 22:04:14 +0200
commit9ad4c9e6b0b35af794068ba8d9efa34a105f2525 (patch)
tree7e9b2f3a2fdd1c34633d845b16d4b8ba4924ed6e
parent8dd5bf7f11689eacf76b3b1dd74b4d2c5eb1ec28 (diff)
downloadserenity-9ad4c9e6b0b35af794068ba8d9efa34a105f2525.zip
LibWeb: Log correct error object when failing to decode a video sample
-rw-r--r--Userland/Libraries/LibWeb/HTML/VideoTrack.cpp2
1 files changed, 1 insertions, 1 deletions
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<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 {};
}