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 937E944953 for ; Wed, 28 Sep 2022 09:35:43 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 95FA068BBDE; Wed, 28 Sep 2022 12:35:42 +0300 (EEST) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E570C68BA05 for ; Wed, 28 Sep 2022 12:35:40 +0300 (EEST) Received: by mail-wr1-f51.google.com with SMTP id m4so4518164wrr.5 for ; Wed, 28 Sep 2022 02:35:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=Vgf8VPLUHKeBBirxcRq5xg50w37tBSkElFEQRPtpLWs=; b=Jx+/AKvTRG+igUb4crz5WsQpAgja1Y4pOlEzEpQsUqxfCM3TOnCZUA+pkjQf34g72p eaomgxGW5l2CmO0qaEmCs4+a7K0Py3CV8dxEk1DUTzR4yfJkulr+B/2uMGzvR1Q+f1hI o7geRO6oercIK49QYe32gaejHcyyipMFUH6ZgKnM1z75aSIRRvr+WwFp8SVIZWdhgVNL DRR65JYUyMCobqfJQ/fY6kty2jlxn3L5O+u3lUOMKsZsafR42DI2U0eXe1RR3C4o7osM qfKUwvYbwmyrmMAHonXAjagGeTESN+oworn20hS/KzINuEOwn3PmZU2SmMoHuBTY+X6q JOGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=Vgf8VPLUHKeBBirxcRq5xg50w37tBSkElFEQRPtpLWs=; b=mE7YmgZrU6iEOZfzh0dJTSGbimzoGEbn7zN6J6C7GxG4Mw1yOZ0vEbVpH4e5bKXL97 Q6hcpR3Mhh72IhPVsx7/6O/24YgQbqUvMq7YAyOFwFQt5TBIaXl2Fsi92ALnA2H6933w p2MVZeREV2UPa+Y1oYNqKgglKmV8V5B6gp7zTrO9vfVrHypLaXKiGAJq8kPBUoLPlHus gfdW56sUWUbz6V+qNjFniLMhvk0LhgPJ4JT9xAN3azyp9MFxqHBZbqR7gwtm2EEgqob2 t0MWqqEdmFTWuHOMDl1Nn8Y0rxUgrYiOojV2mGmO0tLPiKM9407p1fqpcBpp+O3pflMF PifA== X-Gm-Message-State: ACrzQf16EOcFMXDPVlcTuofyjSAKtLbs544P3gzLCE3NPkm11CEPkFW6 QHOrxoJTjjYVubI6pj+pxVh//digjXo= X-Google-Smtp-Source: AMsMyM5b51XBNSDbynzFrB3LBkEcbPgE9Vnc0/DkdFDefxPbldC/K5vXRvxLwU6/h7cX09kdMEMxzQ== X-Received: by 2002:a05:6000:1f81:b0:22c:c692:5c49 with SMTP id bw1-20020a0560001f8100b0022cc6925c49mr2111627wrb.630.1664357739802; Wed, 28 Sep 2022 02:35:39 -0700 (PDT) Received: from kusa (lputeaux-656-1-153-220.w217-128.abo.wanadoo.fr. [217.128.47.220]) by smtp.gmail.com with ESMTPSA id n32-20020a05600c3ba000b003a5bd5ea215sm1197366wms.37.2022.09.28.02.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 02:35:39 -0700 (PDT) Date: Wed, 28 Sep 2022 11:35:30 +0200 From: Matthieu Bouron To: Anton Khirnov Message-ID: References: <166435366968.22057.9046752688640475977@lain.khirnov.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <166435366968.22057.9046752688640475977@lain.khirnov.net> Subject: Re: [FFmpeg-devel] [PATCH] mediacodecdec_common: enable refcounting of buffers unconditionally 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 Cc: 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 Wed, Sep 28, 2022 at 10:27:49AM +0200, Anton Khirnov wrote: > Quoting sfan5 (2022-09-18 20:26:48) > > This allows av_mediacodec_release_buffer to be called safely after > > the decoder is closed, this was already the case with delay_flush=1. > > Note that this causes holding onto frames to keep the decoding context > > alive which is generally considered to be the intended behavior > > > > > > (resending as my patch got mangled somehow) > > The patch looks like it makes sense, but I have no experience with this > code. CCing the maintainer, will push in a few days if nobody objects. Sorry for the wait, the patch looks good to me. Thanks, Matthieu _______________________________________________ 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".