This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 0c3afc7e56434a5e4ee16cf277113ddd3eac7cb4 Author: Marton Balint <[email protected]> AuthorDate: Wed Jan 14 23:03:26 2026 +0100 Commit: Marton Balint <[email protected]> CommitDate: Wed Jan 21 22:06:12 2026 +0000 Revert "lavfi: make sure frame SAR matches the link value" This reverts commit fcc33ada47e594d6b35b71c4a998af796f56492e. It breaks playback of files with changing aspect ratio in ffplay, such as [1], because the filter chain is initialized with the initial aspect ratio, so any change is overwritten. [1] https://samples.ffmpeg.org/archive/container/mpegts/mpegts+mpeg2video+mp2++aspect.ts --- libavfilter/avfilter.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 169c2baa42..bb0b665f0c 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -1084,8 +1084,6 @@ int ff_filter_frame(AVFilterLink *link, AVFrame *frame) if (av_pix_fmt_desc_get(link->format)->flags & AV_PIX_FMT_FLAG_ALPHA) av_assert1(frame->alpha_mode == link->alpha_mode); } - - frame->sample_aspect_ratio = link->sample_aspect_ratio; } else { if (frame->format != link->format) { av_log(link->dst, AV_LOG_ERROR, "Format change is not supported\n"); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
