Paul, thanks a lot for reviewing. The answer is - yes, the move saves up to 30% of performance for a single thread execution, so it is necessary. I wasn't aware of the cases where width/height can change between frames - never seen them in real life, but right you are, iI will change my code accordingly - to make re-init if some change happened. Thanks again!
On Fri, Feb 4, 2022 at 8:17 PM Paul B Mahol <one...@gmail.com> wrote: > Is moving all this code really needed? > > Note that width/height can change between frames so that is supported > by scale filter. > With your change that is not more possible? > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".