[FFmpeg-devel] [PATCH 1/8] swscale: fix sws_setColorspaceDetails after sws_init_context
Niklas Haas
ffmpeg at haasn.xyz
Sat Oct 28 17:38:40 EEST 2023
On Fri, 27 Oct 2023 23:42:41 +0200 Michael Niedermayer <michael at niedermayer.cc> wrote:
> the av_log() message will be wrong if this path is unused
Well, this is a problem even if we move the log printing to context
reinit after sws_setColorspaceDetails, because it will still get printed
on the initial init (before range is known), unless we move it to
sws_scale_frame() itself. But then we would need to keep track also of
whether or not we already printed this.
Since this is just a developer-facing debug message, I'll probably just
reword it.
More information about the ffmpeg-devel
mailing list