mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 15:19:38 +03:00
The output link accepts any location and the frames are converted to the negotiated one. Format conversions tagged the output as top-left while the chroma of each 2x2 block came from whichever of its four invocations stored it last, and scaling without a format change scaled each plane on its own grid, which only keeps center sited chroma in place. The chroma of each block is now sampled once at its location, and the chroma planes are resampled from the input location to the output one. Without a negotiated location, subsampled input keeps its location and other input still gets top-left, and input without a location is assumed to be sited like the output. Signed-off-by: Kacper Michajłow <kasper93@gmail.com>