ffmpeg | branch: master | Niklas Haas <g...@haasn.dev> | Mon Dec 2 11:22:14 2024 +0100| [253b8977c02078faef057542ca647fc676e747e1] | committer: Niklas Haas
swscale: remove primaries/trc change warning This is now supported when using the new API. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=253b8977c02078faef057542ca647fc676e747e1 --- libswscale/swscale.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 931834a374..4e06870fa4 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -1441,17 +1441,6 @@ int sws_frame_setup(SwsContext *ctx, const AVFrame *dst, const AVFrame *src) goto fail; } - /* TODO: remove once implemented */ - if ((dst_fmt.color.prim != src_fmt.color.prim || - dst_fmt.color.trc != src_fmt.color.trc) && - !s->color_conversion_warned) - { - av_log(ctx, AV_LOG_WARNING, "Conversions between different primaries / " - "transfer functions are not currently implemented, expect " - "wrong results.\n"); - s->color_conversion_warned = 1; - } - if (!ff_test_fmt(&src_fmt, 0)) { err_msg = "Unsupported input"; ret = AVERROR(ENOTSUP); _______________________________________________ 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".