Fix log message to show source and dest sizes

This commit is contained in:
Frank Leon Rose 2021-04-05 15:55:47 +01:00
parent 48f1c6c2d6
commit 0ddd0b366c

View file

@ -93,7 +93,7 @@ static bool in_frame_to_png(
SWS_FAST_BILINEAR, 0, 0, 0);
AVFrame * rgbFrame = av_frame_alloc();
LOGV("Image frame width: %d height: %d scaling to %d x %d", codecCtx->width, codecCtx->height, targetWidth, targetHeight);
LOGV("Image frame width: %d height: %d scaling to %d x %d", *inframe->linesize, inframe->height, targetWidth, targetHeight);
rgbFrame->width = targetWidth;
rgbFrame->height = targetHeight;
rgbFrame->format = AV_PIX_FMT_RGB24;