ffmpeg | branch: master | Niklas Haas <g...@haasn.dev> | Tue Mar 4 17:40:58 2025 +0100| [5b9356f18eaad4e156f90e1691fa4a321764a713] | committer: Niklas Haas
swscale/swscale_unscaled: avoid nv12 <-> nv21 bug This is not handled by the planar copy wrapper, so exclude it. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5b9356f18eaad4e156f90e1691fa4a321764a713 --- libswscale/swscale_unscaled.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index 1df160daaa..4959963b18 100644 --- a/libswscale/swscale_unscaled.c +++ b/libswscale/swscale_unscaled.c @@ -2660,7 +2660,8 @@ void ff_get_unscaled_swscale(SwsInternal *c) (isPlanarYUV(srcFormat) && isPlanarYUV(dstFormat) && c->chrDstHSubSample == c->chrSrcHSubSample && c->chrDstVSubSample == c->chrSrcVSubSample && - isSemiPlanarYUV(srcFormat) == isSemiPlanarYUV(dstFormat)))) + isSemiPlanarYUV(srcFormat) == isSemiPlanarYUV(dstFormat) && + isSwappedChroma(srcFormat) == isSwappedChroma(dstFormat)))) { if (isPacked(c->opts.src_format)) c->convert_unscaled = packedCopyWrapper; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".