Message ID | 20200313101420.15100-1-robux4@ycbcr.xyz |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] dxva2: debug the mismatching buffer sizes | expand |
Context | Check | Description |
---|---|---|
andriy/ffmpeg-patchwork | success | Make fate finished |
diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c index 32416112bf..6add893f3e 100644 --- a/libavcodec/dxva2.c +++ b/libavcodec/dxva2.c @@ -840,7 +840,7 @@ int ff_dxva2_commit_buffer(AVCodecContext *avctx, result = 0; } else { - av_log(avctx, AV_LOG_ERROR, "Buffer for type %u was too small\n", type); + av_log(avctx, AV_LOG_ERROR, "Buffer for type %u was too small (got %u, need %u)\n", type, dxva_size, size); result = -1; }