mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
cellVdec: add more detail to the logging
This commit is contained in:
parent
64c04769d2
commit
4464951c77
1 changed files with 3 additions and 1 deletions
|
@ -245,7 +245,9 @@ struct vdec_thread : ppu_thread
|
||||||
|
|
||||||
if (decode < 0)
|
if (decode < 0)
|
||||||
{
|
{
|
||||||
fmt::throw_exception("AU decoding error(0x%x)" HERE, decode);
|
char av_error[AV_ERROR_MAX_STRING_SIZE];
|
||||||
|
av_make_error_string(av_error, AV_ERROR_MAX_STRING_SIZE, decode);
|
||||||
|
fmt::throw_exception("AU decoding error(0x%x): %s" HERE, decode, av_error);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (got_picture == 0)
|
if (got_picture == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue