This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit a275ae8d64782e202ef7cfc686555646252a9c64 Author: Marton Balint <[email protected]> AuthorDate: Fri Jan 16 00:11:57 2026 +0100 Commit: Marton Balint <[email protected]> CommitDate: Wed Jan 21 22:06:12 2026 +0000 avfilter: do not overwrite frame aspect ratio with source frame props in histogram and vectorscrope Signed-off-by: Marton Balint <[email protected]> --- libavfilter/vf_histogram.c | 1 + libavfilter/vf_vectorscope.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c index f77148cdfe..1a5626b317 100644 --- a/libavfilter/vf_histogram.c +++ b/libavfilter/vf_histogram.c @@ -594,6 +594,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) } av_frame_copy_props(out, in); + out->sample_aspect_ratio = outlink->sample_aspect_ratio; av_frame_free(&in); s->x_pos++; if (s->x_pos >= s->width) { diff --git a/libavfilter/vf_vectorscope.c b/libavfilter/vf_vectorscope.c index eeee166172..483132332e 100644 --- a/libavfilter/vf_vectorscope.c +++ b/libavfilter/vf_vectorscope.c @@ -1469,6 +1469,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) return AVERROR(ENOMEM); } av_frame_copy_props(out, in); + out->sample_aspect_ratio = outlink->sample_aspect_ratio; s->vectorscope(s, in, out, s->pd); s->graticulef(s, out, s->x, s->y, s->pd, s->cs); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
