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:
parent
8dd5bf7f11
commit
9ad4c9e6b0
1 changed files with 1 additions and 1 deletions
|
@ -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 {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue