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 2E51C47340 for ; Tue, 5 Sep 2023 14:07:03 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3A6CB68C7BB; Tue, 5 Sep 2023 17:07:00 +0300 (EEST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BCCFC68C264 for ; Tue, 5 Sep 2023 17:06:53 +0300 (EEST) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-31ae6bf91a9so2105939f8f.2 for ; Tue, 05 Sep 2023 07:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693922813; x=1694527613; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:references:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=SWrqzds643b0o/qOOz7fZSuK8spwiysm6qVV17eONQ8=; b=nWq6cEDQv/h2yZTs8/nxOZuYqTTYNLu4Xy2bZS4o4D9NiqpWmxqu63gwi+mGYva5nx l9lTBb1AtCoYwBywz0fFKCSWVN9eUIv3wLWRAKornty6Rt00H1StGMeKL0DIYLhgJ0Mp RbJJLZM/n+1kvfRfPfqN3nDFY0Q7dujKkJL2kmcTp6IbLcfOIvYN2tSQsJI4ctYC4K2+ QsgZ8QaKoH/l1ULIb0rHjItIKmchMPq02lKBqzZqUWBpyaY5IGkPFkPpjynU188UeXkF mv8TfdsW1Y/O1GWERm5rnEexdkyF02VsJscp7yEwuRvkH5+U07MFbKadma8udtFazwFw wyCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693922813; x=1694527613; h=content-transfer-encoding:in-reply-to:from:references:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=SWrqzds643b0o/qOOz7fZSuK8spwiysm6qVV17eONQ8=; b=jrbAEWn6vGIevMMXL0wp34Vb38+JjgpX994zimWWGyppqcXaLaKaCsyllT3mBGAe29 7jgK84NQOOqB1sFGBFIJSDyH3fIbOcnykpUcDGQXpX7uYduALdCSMMwRFgIsLyGnPFJb VqgOgx4Ftvxo9VPUF3hW9V1ZPOXgaPkwsuKzmTKXK5fAXsDwB0zzExwe+25FiYKOEsab OIBnzqbdBdqMT+xXCSoUc9SjBZHc/68DBcrMKAqYp+z10WozVOWfPcid5fpZvoR5ff/h OTWOmcfItltwwNJVxM68+oAw9Ew3kppM/dOZ2UezZcs47OhU6iROcB6yVGzab1e2ujtw ZcoA== X-Gm-Message-State: AOJu0YznTKk3XtxIESfpOmALr+XAo96hYdJeJyFXpYt6OrAy0gB2SC03 JYuyqYfrdGkCOOcTgUiTpAmjJL33PyA= X-Google-Smtp-Source: AGHT+IEbz/bKz3X4ivdbE9CeXJB4XKn4GsF5Kdun0qVabAlKxCYk/oMDGZMMSgAg0PAFzLc/KQQuzw== X-Received: by 2002:adf:f288:0:b0:316:f3cf:6f12 with SMTP id k8-20020adff288000000b00316f3cf6f12mr10750990wro.48.1693922812679; Tue, 05 Sep 2023 07:06:52 -0700 (PDT) Received: from [192.168.1.106] (33bf2829.skybroadband.com. [51.191.40.41]) by smtp.googlemail.com with ESMTPSA id k8-20020a5d6d48000000b0031434c08bb7sm17406226wri.105.2023.09.05.07.06.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 05 Sep 2023 07:06:52 -0700 (PDT) Message-ID: <50f7339c-9f6d-af41-ddfa-03e6dbeb012f@gmail.com> Date: Tue, 5 Sep 2023 15:06:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 To: ffmpeg-devel@ffmpeg.org References: <20230904150411.56777-1-jamrial@gmail.com> <7d9e4055-c77c-38e5-6e92-58a0eaff5e46@gmail.com> <6eee5a65-516e-f165-43ee-4c513c4a1376@gmail.com> <1c67edf5-0933-eaed-dd3c-ef77412cf373@gmail.com> From: Derek Buitenhuis In-Reply-To: <1c67edf5-0933-eaed-dd3c-ef77412cf373@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH 00/17 v3] AVCodecContext and AVCodecParameters side data 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 9/5/2023 2:31 PM, James Almer wrote: > Users relying on global side data being in the first packet need to call > the inject() lavf function to enable said functionality. As that > function is now deprecated, they will get the relevant warning and be > directed to the global side data API. > Nothing is being dropped silently. Their code will behave as usual > during the deprecation period. Thanks for clarifying. > What makes this different to every other API that was introduced with > relevant documentation and references to it in the deprecacted/replaced API? This is true, FFmpeg has terrible doc policies, but it is worth pointing how awful they are once in a while when new ones are added. TBF that is what keeps a whole cottage industry of people employed: Simply knowing the FFmpeg API, as it is non-trivial to know what doc / func / struct you even need for a given problem. > It's IMO very clear in the doxy: Instead of calling inject() and looking > at packet side data, just look at the always available avctx side data. > Similarly, instead of looking or filling AVStream.side_data, you look or > fill the field in AVStream.codecpar. We can agree to disagree. - Derek _______________________________________________ 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".