X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=nageru%2Fmjpeg_encoder.h;h=eff361ea4e4cb1ebada2236daef46321e690a942;hp=6ba7f0381bad3a1f3f1ec879e07cf44dcaf7260b;hb=731424ea25080a11a0b687f5cdb0007ca82c6050;hpb=04738b0cecf5f7b6d988822c1d7595fdd52a496e diff --git a/nageru/mjpeg_encoder.h b/nageru/mjpeg_encoder.h index 6ba7f03..eff361e 100644 --- a/nageru/mjpeg_encoder.h +++ b/nageru/mjpeg_encoder.h @@ -31,7 +31,7 @@ struct VectorDestinationManager; #define CHECK_VASTATUS(va_status, func) \ if (va_status != VA_STATUS_SUCCESS) { \ - fprintf(stderr, "%s:%d (%s) failed with %d\n", __func__, __LINE__, func, va_status); \ + fprintf(stderr, "%s:%d (%s) failed: %s\n", __func__, __LINE__, func, vaErrorStr(va_status)); \ exit(1); \ }