From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 77940471DD for ; Sat, 28 Oct 2023 14:38:49 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EB2C768CA90; Sat, 28 Oct 2023 17:38:46 +0300 (EEST) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id ED02568BCD2 for ; Sat, 28 Oct 2023 17:38:40 +0300 (EEST) Received: from haasn.dev (unknown [10.30.0.2]) by haasn.dev (Postfix) with ESMTP id 95A6340C3B for ; Sat, 28 Oct 2023 16:38:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=haasn.xyz; s=mail; t=1698503920; bh=9LMgiuGEgWWO0xo/RtIW0Q+Zrbjse0uIc59AfZduITw=; h=Date:From:To:Subject:In-Reply-To:References:From; b=firIM2YImIOKth7B23+YpWK5MhtPNe920vUhCMhvIFi4+3zCUGXTGvz6CWV9muBiX DmeW8PL9PndrQ15OUaTt3YPGL+KNeFLaWcXe2zyhAqWrNSByeoHyDySPtDhmaqsXhO SQR+tp9XrZjNQ510TVF15zwsvihYhuh7PP1kjLsg= Date: Sat, 28 Oct 2023 16:38:40 +0200 Message-ID: <20231028163840.GB59027@haasn.xyz> From: Niklas Haas To: FFmpeg development discussions and patches In-Reply-To: <20231027214241.GB3543730@pb2> References: <20231027170446.63684-1-ffmpeg@haasn.xyz> <20231027214241.GB3543730@pb2> MIME-Version: 1.0 Content-Disposition: inline Subject: Re: [FFmpeg-devel] [PATCH 1/8] swscale: fix sws_setColorspaceDetails after sws_init_context X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Fri, 27 Oct 2023 23:42:41 +0200 Michael Niedermayer 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. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".