From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id 5B87340297
	for <ffmpegdev@gitmailbox.com>; Thu,  3 Apr 2025 09:39:34 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C2C08687DB5;
	Thu,  3 Apr 2025 12:39:30 +0300 (EEST)
Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com
 [209.85.167.53])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4C3C9687D20
 for <ffmpeg-devel@ffmpeg.org>; Thu,  3 Apr 2025 12:39:24 +0300 (EEST)
Received: by mail-lf1-f53.google.com with SMTP id
 2adb3069b0e04-54b166fa41bso738217e87.0
 for <ffmpeg-devel@ffmpeg.org>; Thu, 03 Apr 2025 02:39:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=martin-st.20230601.gappssmtp.com; s=20230601; t=1743673163; x=1744277963;
 darn=ffmpeg.org; 
 h=mime-version:references:message-id:in-reply-to:subject:to:from:date
 :from:to:cc:subject:date:message-id:reply-to;
 bh=AbQACrLkVgcqBvnPh+Q9t7k5aBrU2iPu6fjmB5nvNrc=;
 b=hZgqoQaX5eOlCKTcrUv+Z5v9p5gNZKm//qg+p+0ZkTYnuH7oClLoIeFQXE263lqRMb
 j6+frrXbJRS30neu6G8yy/v/GRTRQWc0hiVu6gYoNk7bAIhbO+2fTxO9cEqeS7zuPO5b
 uJVD+0ZCPbvUpxkFbPSHINzCRFQJH8CxCGEGzyOE28+8kFrJVHToiyVjnezTceUErjCg
 ymZSNGWxz8KDiP5ZAG6uUx5AXmofzE2JD2JsJucACf7qxNGS2rky6QfuKRirdrg6X3Ov
 DYB047M4gSiExq3O2QXInRkd4mKikMcbqJ3544fUEOmFSJjZlRvYjwEXKa8b7ocCHZa3
 l4PA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1743673163; x=1744277963;
 h=mime-version:references:message-id:in-reply-to:subject:to:from:date
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=AbQACrLkVgcqBvnPh+Q9t7k5aBrU2iPu6fjmB5nvNrc=;
 b=vR8myZLwZhJLGQos5yHnvswYqr/Q3JkXvk9gRrVxRgJ8f5IdfCS6WAxEzSkL7kx9xv
 TJsXsVXdvKW+7zLs1hHXPHjD5RYUAXWdd/wtMeeucFaDveIew6t4PAVautYMHrFirsRY
 pZ01qUvPDCXG+rN7Yw4I65x4kgduVKdkxBGV+v7GLiiiAkPdYBuSbXtiFjyHtoRIHSpd
 ZqmjmWaSiLhcIvcBUZdYu3ZK75aTX5Gt6LiKrTaGp2xiplmBxHrwpjxVZ5R2rM8ryTmk
 jLQWeQd8KFtL/81ZfU1YUkGZWu+9VM1fwJWooqvPke2YOkug/xkWGZEaIg8RDnwqZAlb
 GV9w==
X-Gm-Message-State: AOJu0YzwIGhWqNJR2/bYv2g7NOTl2qHJf6zwtM4TYFu6LPGT2Fg21EcT
 h7ZfGjg8kw0/83bCqk1Msb2/4QyaMDKKJeNe/DZCRrSrIvWUQ/tz+VfR0Sy2wgwCPbdZEPI7d/F
 mbQ==
X-Gm-Gg: ASbGnct6aMpHiBSjDcQUT8ZFm5vUPDQMup6fdZCPuA6mAy9+0jC41BpDjDO8LyrHrXF
 BqDLlW1xId3ezIwfrHfKKWsTJYiCFO8PaZghrPckXWIcf7f7xMxHIrEo4BVvFASYQqn4o4oXQQN
 Qkj2dM2n4Z2te+yOduMCUqB3ZA98YeY+eJGGbMMt1tyG+D+p6BR0Yri+vdCLeXpR+oOvk1kGb7T
 vniiIQmxOG7nrORw0ycOAY6JCi//tH0GwmHCNO6YDIZVpr009TuadSj//NU7CRaq4Tbj8Q349zD
 nE1Bs4WnHrKVDjiU1xcTOemFKPf+zyp1S5PUEPq8d89//zObktvqoUDJ39fGHDTUMFhtjOuo5s2
 Mldh41GgxvyW6M7+Nhmc7qkCm72Y5QhcG3OQs2xGpwW/yPHcVzdk=
X-Google-Smtp-Source: AGHT+IGKvrGcfRc/VwC7w5+plF07WYMove0izWQkrGrobKjJoCOgwETDFil+g1wojpxCL9pqi01UUA==
X-Received: by 2002:a05:6512:10d5:b0:549:5b54:2c66 with SMTP id
 2adb3069b0e04-54b10ecc02amr6528839e87.23.1743673162925; 
 Thu, 03 Apr 2025 02:39:22 -0700 (PDT)
Received: from tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net
 (tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:11::2])
 by smtp.gmail.com with ESMTPSA id
 2adb3069b0e04-54c1e5ab4a4sm103962e87.5.2025.04.03.02.39.22
 for <ffmpeg-devel@ffmpeg.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 03 Apr 2025 02:39:22 -0700 (PDT)
Date: Thu, 3 Apr 2025 12:39:19 +0300 (EEST)
From: =?ISO-8859-15?Q?Martin_Storsj=F6?= <martin@martin.st>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
In-Reply-To: <CABPLAST8WawWJFMNubxBKu37sLowY5gFOsDOGb_fmH_6X9ktbg@mail.gmail.com>
Message-ID: <5166ed4-2e47-eada-7997-7ddb51c3f8f0@martin.st>
References: <CABPLAST8WawWJFMNubxBKu37sLowY5gFOsDOGb_fmH_6X9ktbg@mail.gmail.com>
MIME-Version: 1.0
Subject: Re: [FFmpeg-devel] Request for --disable-deprecated configure option
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/5166ed4-2e47-eada-7997-7ddb51c3f8f0@martin.st/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

On Thu, 3 Apr 2025, Kacper Michajlow wrote:

> Hello,
>
> It would be nice to have configure time ability to disable all
> `FF_API_*` for testing purposes.
>
> As we know not all code can be marked to emit Wdeprecated.
> Specifically #defines doesn't emit any warning and it's easy to miss
> such depreciation before it's actually removed.
>
> The breakage of course is not big, but the main issue is that the
> current release version of a ffmpeg user won't be compatible with
> ffmpeg after API bump, without any period for transition.
>
> --disable-deprecated could be used for testing and ensuring that
> (next) API bump goes smoothly. For both ffmpeg and its users.

So essentially to configure a build to use the next major API version 
before doing the actual bump?

I've actually mentioned that we should do that (and that we should have a 
FATE instance that continuously tests this, so that we know beforehand 
that our planned next form of the APIs actually works), and I did try 
making a PoC of it at some point, but unfortunately, I think I concluded 
that it was a bit more messy than I had wanted, so I didn't continue 
on it.

See https://github.com/mstorsjo/ffmpeg/commit/next-abi for my PoC.

// Martin

_______________________________________________
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".