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 682A9453CC for ; Fri, 27 Jan 2023 18:16:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B2C3468BE72; Fri, 27 Jan 2023 20:16:42 +0200 (EET) Received: from mail-oa1-f52.google.com (mail-oa1-f52.google.com [209.85.160.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 05D0168BDF2 for ; Fri, 27 Jan 2023 20:16:36 +0200 (EET) Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-16332831ed0so7546228fac.10 for ; Fri, 27 Jan 2023 10:16:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TbJY3TogD63IjtFOKLtCSsHR8I0w5Q20+iOdEnP5rOw=; b=Ww3i0B4heSwwbIZzfPiBrUdoUM7jFZGrwTsHovGB5OVDIjh3bfI2D446q/F9fRcps9 vm1f2mH94uRL85l9Bz81xhmK2STdybpSE96wCYH3iabQhODIAiHHHdPaep1xj7Vp+Sst MkyfAPHrxdDg+0kF5uheNI+AfIoEJwJoxUJIAO4ZAvOBudLrCekQ7o9BFLipU7m/F90H 8JVCauZ58hSkBbVc0eJ2dLpoQaHwgSjr2DCgzQdTatFQ5ZCwNPPt/5keqIFpM+iiUQl9 IzLg08zovGdI3Tqsn6BT/Xn/0iRzq3x5xMSa5oFDADA2R0D4ToBfXshQ3oJd7RHLoyaS pkaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TbJY3TogD63IjtFOKLtCSsHR8I0w5Q20+iOdEnP5rOw=; b=1iUHkxI8xEE2LhWSSE1jVO7igcn9lz39zNJ6jBroAwUp2j4jqFe81kHepqmDgthFVq GhiwPNP2QI77BA5Ybo9YtSwFXGLXaFgM4gZdQWQvZL/e7a2iHLrK7kv2k1/WIukWoXDj LTXvYWGUjwMlHaMBftbSQkpwaAHtpujaXmRlFRcqgmPZ65zZQ+XdWbuqjGK52We7+UJ8 PmA+XQj2PVGhNKPwOXOCrcbkp6xbmvRKLDp13jHvtpvGX/cl7LLgdEoEsBbNY2UrTmyd YYdjrZD7dsnuD76hb8bgehwps8SJXYXVqqJdkJHqs2mpnGDUn0H5Ocmn9xaWfogUkKS1 LArA== X-Gm-Message-State: AO0yUKXcljiCwiskYsTU+8ALbXMZuhBH+MXpUISoO9jyBLzUp47Hk6Sh AZf1gWhmAGsgqBIcka9+/qNT1U8xiZ8= X-Google-Smtp-Source: AK7set8EZBtFcgiN8buBq5jCDOAIdI8YcrQpUwwczuFBTmun+0OtJPNBobK4jgW/VkqfzN8JMH2CWA== X-Received: by 2002:a05:6870:561f:b0:163:29ec:6776 with SMTP id m31-20020a056870561f00b0016329ec6776mr7295284oao.32.1674843394317; Fri, 27 Jan 2023 10:16:34 -0800 (PST) Received: from [192.168.0.14] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id z12-20020a056870738c00b0016343c187dfsm2176358oam.32.2023.01.27.10.16.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Jan 2023 10:16:33 -0800 (PST) Message-ID: <34dbdb79-0784-e5f2-3a2c-7754dc614da3@gmail.com> Date: Fri, 27 Jan 2023 15:16:41 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20230126224649.1887-1-cus@passwd.hu> <167481406537.4503.11256345603659215829@lain.khirnov.net> <167484266801.26119.8016486821936065381@lain.khirnov.net> From: James Almer In-Reply-To: <167484266801.26119.8016486821936065381@lain.khirnov.net> Subject: Re: [FFmpeg-devel] [BUMP PATCH 1/2] avcodec: change AVCodecContext.frame_number to int64_t 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 1/27/2023 3:04 PM, Anton Khirnov wrote: > Quoting Marton Balint (2023-01-27 18:59:39) >> >> >> On Fri, 27 Jan 2023, Anton Khirnov wrote: >> >>> I still think we should do a deprecation+replacement like we do for >>> everything else. >> >> You mean you want to introduce a new 64 bit member and deprecate the old >> 32 bit field? >> >> E.g. >> >> int64_t frame_num; >> >> attribute_deprcated >> int frame_number >> >> And during the transition you want to sync the value between the 64bit and >> the 32bit ? > > yes We did make changes like int -> size_t without adding new fields in places like AVBufferRef. See 14040a1d91. It does however probably need an FF_API_ dance, much like in that example. _______________________________________________ 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".