This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit d21ed89463222e8cb46b33b2cdeaad1a9932f514 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Oct 13 05:24:19 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Tue Oct 20 20:41:50 2026 +0000 avfilter/vf_showinfo: do not checksum hardware frames Fixes: lJDYwsOtMQXY Fixes: EINVAL on every hardware frame EINVAL on every hardware frame Replicated through UnModified FFmpeg with plain output Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765 --- libavfilter/vf_showinfo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index d81bd0fede..ecd3459e0d 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -772,8 +772,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) int bitdepth = desc->comp[0].depth; int be = desc->flags & AV_PIX_FMT_FLAG_BE; int i, plane, vsub = desc->log2_chroma_h; + int calculate_checksums = s->calculate_checksums && !(desc->flags & AV_PIX_FMT_FLAG_HWACCEL); - for (plane = 0; plane < 4 && s->calculate_checksums && frame->data[plane] && frame->linesize[plane]; plane++) { + for (plane = 0; plane < 4 && calculate_checksums && frame->data[plane] && frame->linesize[plane]; plane++) { uint8_t *data = frame->data[plane]; int h = plane == 1 || plane == 2 ? AV_CEIL_RSHIFT(frame->height, vsub) : frame->height; int linesize = av_image_get_linesize(frame->format, frame->width, plane); @@ -809,7 +810,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) !!(frame->flags & AV_FRAME_FLAG_KEY), av_get_picture_type_char(frame->pict_type)); - if (s->calculate_checksums) { + if (calculate_checksums) { av_log(ctx, AV_LOG_INFO, "checksum:%08"PRIX32" plane_checksum:[%08"PRIX32, checksum, plane_checksum[0]); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
