This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 5a6bf8d4f4fd5b7b985a4503d67bf1f8db1b4705 Author: Niklas Haas <[email protected]> AuthorDate: Fri Jun 5 21:05:46 2026 +0200 Commit: Ramiro Polla <[email protected]> CommitDate: Fri Jun 5 22:32:51 2026 +0200 swscale/tests/swscale: allow all backends for auxiliary conversions This enables testing all internally supported pixel formats. Signed-off-by: Niklas Haas <[email protected]> --- libswscale/tests/swscale.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c index b1c78d16e9..b5b8faeeff 100644 --- a/libswscale/tests/swscale.c +++ b/libswscale/tests/swscale.c @@ -699,8 +699,8 @@ static inline int test_formats(const struct options *opts, enum AVPixelFormat src, enum AVPixelFormat dst) { /* Test auxiliary conversions */ - if (!ff_sws_test_pixfmt_backend(SWS_BACKEND_LEGACY, src, 1) || - !ff_sws_test_pixfmt_backend(SWS_BACKEND_LEGACY, dst, 0)) + if (!ff_sws_test_pixfmt_backend(sws_ref_src->backends, src, 1) || + !ff_sws_test_pixfmt_backend(sws_dst_out->backends, dst, 0)) return 0; /* Test main conversion */ @@ -1154,6 +1154,8 @@ int main(int argc, char **argv) goto error; sws_ref_src->flags = SWS_BILINEAR | SWS_BITEXACT | SWS_ACCURATE_RND; sws_dst_out->flags = SWS_BILINEAR | SWS_BITEXACT | SWS_ACCURATE_RND; + sws_ref_src->backends = SWS_BACKEND_ALL; + sws_dst_out->backends = SWS_BACKEND_ALL; ref = av_frame_alloc(); if (!ref) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
