video: Report what frame gave an error

This commit is contained in:
David Wendt 2020-12-22 23:22:54 -05:00 committed by Mike Welsh
parent 5b546bf2d8
commit c6a9e27916
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ impl<'gc> Video<'gc> {
self.0.write(context.gc_context).decoded_frame = Some(CollectWrapper(bitmap))
}
Err(e) => log::error!("Got error when seeking video: {}", e),
Err(e) => log::error!("Got error when seeking to video frame {}: {}", frame_id, e),
}
}
}