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 39C1044A2E for ; Tue, 6 Dec 2022 11:43:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5151768BD43; Tue, 6 Dec 2022 13:43:08 +0200 (EET) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3813E68B9EC for ; Tue, 6 Dec 2022 13:43:02 +0200 (EET) Received: by mail-ot1-f52.google.com with SMTP id z14-20020a9d65ce000000b0067059c25facso963456oth.6 for ; Tue, 06 Dec 2022 03:43:02 -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=VW57Olk2oxNJR0x+xOftbEwgq7qRSxIjLveusxvUWXI=; b=b0f/zdKCtalmT62KkNXKKe8B0PUvIID1qRW0UiI6EGdjcsc4Genfehegg2+nWJMSoS Lv4hFa2Jn/VZE3iIHpCxT9gF7WMiC7yeFSmElC4arnijhVP7DNrYueogjVCid1PDKeAF P3Mhs/dqumYDEeFC4TXyzRvfmverNoA947IAri0aWjJ+vtEUbx9F9UI12BUplCASX9Sc ubnzc+y6AmpW1uDmq3LslWeAoSkK/czUngTXVa4oW+aFVgeyIUb4uCvJwWE1bVuHLQEI YwDIFfm4qsMD13qUDE4N0pNwMMMZWRAM9+EBilu3ROSsOfWWluQdPIMtTwnfgRA83oi/ emAQ== 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=VW57Olk2oxNJR0x+xOftbEwgq7qRSxIjLveusxvUWXI=; b=jYmPGU9WQaMi+e+fpHv7ABXUi+F5PFe9kBEwdiYnCecqDKTJstWr7qwKAGeYnO+R5i wfnYAp9QvvoK5Xf0RzhFo6SlRvF9U4ACzKpJxJQNWepyY6/YJ4Aq+Re7AV2rs/PAbhBX XR+hpWpM+SdtNtMEbqCAS2kRr67zvO7pipwPa+cXFz7OxRoCFAoHOow3oMvOcNGxK7to iAx58rbdFY+baycmXA5N+7h1m+PoasCD6nKMZfMMeHbWeDzyzQOLKAnKV0TIf7AVtiUm ErY2osHU1neNbbD8dhh+Oee4oIRv02puqwqzGlfZnVx9eDriIJAH8eVKhBnSUuw5y/6T qFNg== X-Gm-Message-State: ANoB5pmJW7q/uYT3dy/sFUS31QbmEwR4tNsgep09Rdo9tpbl93tjpmyY GdnrijmwVUPN1RX0+egTb+WKko53Wdo= X-Google-Smtp-Source: AA0mqf7lpFRDklBROPin0rA6frnyFO5EbraAiPwDm6/B5SvMuzPBXtyCsMLEpFkmnpy4cd588XQ42Q== X-Received: by 2002:a9d:6a42:0:b0:66d:a838:aa60 with SMTP id h2-20020a9d6a42000000b0066da838aa60mr41145892otn.104.1670326980292; Tue, 06 Dec 2022 03:43:00 -0800 (PST) Received: from [192.168.0.11] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id m3-20020acabc03000000b0035bce2a39c7sm8180399oif.21.2022.12.06.03.42.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Dec 2022 03:42:59 -0800 (PST) Message-ID: Date: Tue, 6 Dec 2022 08:42:57 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20221205212658.GZ3806951@pb2> <20221206000308.3739-1-jamrial@gmail.com> From: James Almer In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 2/6] avcodec/wmadec: clear pts when returning a frame during flush 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 12/6/2022 5:27 AM, Paul B Mahol wrote: > On 12/6/22, James Almer wrote: >> This will be needed for the following commit, after which ff_get_buffer() >> will >> stop setting frame->pts to AV_NOPTS_VALUE. > > This can not be put into generic code? Decoders can set pts manually for frames returned after eof (which is essentially what I'm doing here), and the generic code can't know the decoder was done flushing in order to force something into a frame until it effectively gets no frame. _______________________________________________ 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".