1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 04:32:35 +01:00

cellVdec: add more detail to the logging

This commit is contained in:
Megamouse 2018-06-17 13:30:31 +02:00 committed by Ivan
parent 64c04769d2
commit 4464951c77

View File

@ -245,7 +245,9 @@ struct vdec_thread : ppu_thread
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)