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 EA72D44F5B for ; Wed, 12 Jul 2023 11:30:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6A76468C3DA; Wed, 12 Jul 2023 14:30:41 +0300 (EEST) 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 F396168C36A for ; Wed, 12 Jul 2023 14:30:34 +0300 (EEST) Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-6b72329b63eso5926669a34.0 for ; Wed, 12 Jul 2023 04:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689161433; x=1691753433; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=kzD1Wk+z0YUAJTS2em+4QZ1gK1MOnPo5V6tJFrAH+rA=; b=OCkIZxIhyQ2DMKfd4Er8FedUSFXNWun2ZBoAqWthz2fh/a0XrfnvmdvCNFUukNtkrP OuiS8LUd80dmhNVAUmyMJ+YOd2IEsxXzo3SEoHwxEQcYcSKlna31pLHwu1Q6a4vbGjrN UjP5kIodKOd6IUP5EBH24/loO6BK/U7uChIIok179KPl3SXTgfUy5Li4ksyPFEfCTSQs XEFpMBWJyJOKNPQg/FZOurXy6VAgvfw4KxCjYSsCUtErIkdSTTxtJbh4CphuF+i9N/Ax F/JoPnktNycTOl+OK5twIXX6kjfCnYKbXFh62E2Iy+llQm+vvH7DW/khpDIdhI8Zyoo/ RSVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689161433; x=1691753433; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kzD1Wk+z0YUAJTS2em+4QZ1gK1MOnPo5V6tJFrAH+rA=; b=ftO2EI7VRxSKaGYq4I+lu7Nw35CXA442IgCvl1QSGNBFWIAbKIQ8f4+45E7pMdM6ZI IMZ0lTejIF11MEblTvdQWaiL0shVtNVOB1zE9/yAxtHiS+g30MYnHtUltacA2t9OjPAI qy07KAWucb/ukbEib1UBFi3kNEv5+Ia2IIgvu1FjBsJtiaplWwiiB8kUGaCqSrs6M0Ue mQShE7wRTRKkGhKC29E3CCndbRVxDvwikfBh5PIxLYfaBYAh1p5ZF7ugYlplz0QgZWnH XaxbxU1+0eh7Vea54q3juuSpEXWbxP0mXTxhxZwYvPBzXp19e9FFq4wZqOGlZjO4cfGZ xt9g== X-Gm-Message-State: ABy/qLbzM37IxbCgDyJdYsbpjead03iYdUYGXAqmCwBy/xEu8E+yH6hA 5tG/6b2GOSs7XELKBuZdY1Zu4NILP28= X-Google-Smtp-Source: APBJJlEyB9npqnSTn2x771vOnXEEAwNHtFEuQKX3owhwoxFKTGeB9Zj66AvfCm6NXEzMuPgrSPhIeA== X-Received: by 2002:a05:6830:3a88:b0:6b7:539f:d1b0 with SMTP id dj8-20020a0568303a8800b006b7539fd1b0mr16958823otb.31.1689161432696; Wed, 12 Jul 2023 04:30:32 -0700 (PDT) Received: from [192.168.0.16] (host197.190-225-105.telecom.net.ar. [190.225.105.197]) by smtp.gmail.com with ESMTPSA id u1-20020a056830118100b006b8c87551e8sm1797734otq.35.2023.07.12.04.30.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Jul 2023 04:30:32 -0700 (PDT) Message-ID: <226586ee-0d56-2d14-484f-3d2057582867@gmail.com> Date: Wed, 12 Jul 2023 08:30:30 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 To: ffmpeg-devel@ffmpeg.org References: <20230712020644.22606-1-jamrial@gmail.com> <168915281618.27367.2912618442323999928@lain.khirnov.net> Content-Language: en-US From: James Almer In-Reply-To: <168915281618.27367.2912618442323999928@lain.khirnov.net> Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/decode: don't reject flush packets when buffer_pkt is not empty 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 7/12/2023 6:06 AM, Anton Khirnov wrote: > Quoting James Almer (2023-07-12 04:06:43) >> Restores the behavior pre commit a92dbeb9ae. >> >> Signed-off-by: James Almer > > Do you see any advantage to this? Not returning an error when a flush packet is feed to the decoder. Why would the API force me to retrieve frames before i can tell it I'm not going to feed it any more packets? _______________________________________________ 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".