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 9254C4512E for ; Sun, 12 Mar 2023 15:04:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C971D68B155; Sun, 12 Mar 2023 17:04:23 +0200 (EET) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 111A168A548 for ; Sun, 12 Mar 2023 17:04:18 +0200 (EET) Received: by mail-ed1-f41.google.com with SMTP id g10so10218771eda.1 for ; Sun, 12 Mar 2023 08:04:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678633457; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=Hz92zTTYajLMcQOFVkp92SU8P6QV6g1exIgZqdUI8do=; b=EH/HCo5xR6TrnkRafLVImdyYbOsbRcOO4RlyWxu5ExKWqiFcqMXzUxU0GDAFT7Z8ja 2dID6PSXBKX/jEak6nBoNBCd2z4kGDEdQ4fhMLI23iDd/UHaSSSbuD+DmU+vsrsFHMpZ MwVXFotVyOu87CxagwGGDanzQZvdoUzFEOBDJE/t6ogFbzCMiap9IxXWfXcJr2CNzzMj fHAyT1vyN0zUGavVtwvLvTpoNeZuymUdTfZ20KULUStZ8zMHfXDoVS7CsIpJnThILX/B ulcF5tJReR9Hi5ZXwA11XsVP+2yrONoeOPWWjzQklQ8y0AyXMP1U64WmoqPohCfLk5OY Gtkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678633457; h=user-agent:in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Hz92zTTYajLMcQOFVkp92SU8P6QV6g1exIgZqdUI8do=; b=QKbAbqMferkoSR1KQ6TZtsFeNEvDwXlY0+6EIRfsQvDXuNRk21yyGJ2r1+b3d2jUZF 4RUSTT88QO4jyY1KNvS3ljD3EMA7R//0k3klSp1aBrxfWg5Xelg1d3tK2roAuvct14iI /w/9OQwRwBvXYMs/TmFXg7933yTAwV4xBaetDVLmo94jrCF6jxWWrQOj0fy4dbtG69js m9P0duAGhIkYMRSMCXCRt99uOxM63eWrDk775pUjwvlx6yC7HQJqsY6X22xcfwd5Jn7z jrMuN9aaHe9GBL/R6PsUvgwPhXHCG1ZDHa+k7GMdxpc/d+J8LxevPftnnYU3wzcEJR+d OHMA== X-Gm-Message-State: AO0yUKWkZZN4D6htzgUigFYibb8Xe+N+FBMVlMI6tsSMv4m7dRUgw5Rl cHqwIkR75W/pPNM7v62UWtERYCR6y6m9SQ== X-Google-Smtp-Source: AK7set+9qJ97EyjutN+ev9a1be/uenKkd8ntjsm2AbY6YHCAzYF40KJrYHyE+SMmMfuJv22l2WWIDg== X-Received: by 2002:a05:6402:1a28:b0:4c6:10a7:c422 with SMTP id be8-20020a0564021a2800b004c610a7c422mr31424067edb.18.1678633456854; Sun, 12 Mar 2023 08:04:16 -0700 (PDT) Received: from mariano (dynamic-adsl-62-10-90-114.clienti.tiscali.it. [62.10.90.114]) by smtp.gmail.com with ESMTPSA id c9-20020a50d649000000b004c07b11deb8sm2247125edj.64.2023.03.12.08.04.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Mar 2023 08:04:15 -0700 (PDT) Received: by mariano (Postfix, from userid 1000) id E9B5DBFB73; Sun, 12 Mar 2023 16:04:14 +0100 (CET) Date: Sun, 12 Mar 2023 16:04:14 +0100 From: Stefano Sabatini To: FFmpeg development discussions and patches Message-ID: <20230312150414.GB48946@mariano> Mail-Followup-To: FFmpeg development discussions and patches References: <20230310115635.13639-1-anton@khirnov.net> <20230310115635.13639-2-anton@khirnov.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230310115635.13639-2-anton@khirnov.net> User-Agent: Mutt/1.13.2 (2019-12-18) Subject: Re: [FFmpeg-devel] [PATCH 2/6] fftools/ffprobe: stop using AVFrame.pkt_{pos, size} 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 date Friday 2023-03-10 12:56:31 +0100, Anton Khirnov wrote: > These fields are ad-hoc and will be deprecated. Use the recently-added > AV_CODEC_FLAG_COPY_OPAQUE to pass arbitrary user data from packets to > frames. > > Changes the result of the flcl1905 test, which uses ffprobe to decode > wmav2 with multiple frames per packet. Such packets are handled > internally by calling the decoder's decode callback multiple times, > offsetting the internal packet's data pointer and decreasing its size > after each call. The output pkt_size value before this commit is then > the remaining internal packet size at the time of each internal decode > call. > > After this commit, output pkt_size is simply the size of the full packet > submitted by the caller to the decoder. This is more correct, since > internal packets are never seen by the caller and should have no > observable outside effects. > --- > fftools/ffprobe.c | 26 +++- > tests/ref/fate/flcl1905 | 318 ++++++++++++++++++++-------------------- > 2 files changed, 181 insertions(+), 163 deletions(-) LGTM, thanks. _______________________________________________ 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".