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 D09C349A90 for ; Thu, 28 Mar 2024 08:02:53 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C5FC568D72D; Thu, 28 Mar 2024 10:02:50 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 189B468D233 for ; Thu, 28 Mar 2024 10:02:44 +0200 (EET) Authentication-Results: mail0.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=rEpOO8p8; dkim-atps=neutral Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id CFECC240DAC for ; Thu, 28 Mar 2024 09:02:43 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id QqdlVKW63HTO for ; Thu, 28 Mar 2024 09:02:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1711612959; bh=K9FNIg9t2ne5YVVGV63FrkOlRCpE1oqk5RU69fnrzcc=; h=Subject:From:To:In-Reply-To:References:Date:From; b=rEpOO8p8sheWtygqtA5/HHGvENnauH08tAboRw4WJCRFqRKPypHxn0gN8UgReb2dq L6i0nqoZ9QyqYjNgxhy0wGrGFEYPoAFFMGym8N2sdnZkT49qNfglW8CuQKQYPF8sxb rBFM5oEeFn5KplS9KQqAQ3nkB0zoEvBFNaooF6plKOmpzAnu9Zf19wIKs/1o4GPr7w 05hgG9HyNBFKaonL1mWdnx3hsEF+ul/lL/6l0pzk3BTkWlE4zKxZ+KU4ATBh0PeaWX BaEcePtYniNvLA2KsL0kkdbzsAaw9g6NVmcT0YNSOvAyOzWOt1MqK9vghL3XbJumTR RncNYoPZ6vTuQ== Received: from lain.khirnov.net (lain.khirnov.net [IPv6:2001:67c:1138:4306::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "lain.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id CF9192404AF for ; Thu, 28 Mar 2024 09:02:39 +0100 (CET) Received: by lain.khirnov.net (Postfix, from userid 1000) id 890BE1601B9; Thu, 28 Mar 2024 09:02:29 +0100 (CET) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: References: <20240209151959.C7231411B5B@natalya.videolan.org> <20240327140311.GC2460414@pb2> Mail-Followup-To: FFmpeg development discussions and patches Date: Thu, 28 Mar 2024 09:02:29 +0100 Message-ID: <171161294953.7287.7421530414842845195@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] lavf/demux: stop calling avcodec_close() 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: Quoting Kieran Kunhya (2024-03-27 15:13:12) > On Wed, 27 Mar 2024 at 14:03, Michael Niedermayer > wrote: > > > On Fri, Feb 09, 2024 at 03:19:58PM +0000, Anton Khirnov wrote: > > > ffmpeg | branch: master | Anton Khirnov | Thu Feb > > 1 08:57:24 2024 +0100| [ca18bb597223b3df5bbf8a1836d157ba58b62570] | > > committer: Anton Khirnov > > > > > > lavf/demux: stop calling avcodec_close() > > > > > > Replace it with recreating the codec context. > > > > > > This is the last remaining blocker for deprecating avcodec_close(). > > > > > > > > > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ca18bb597223b3df5bbf8a1836d157ba58b62570 > > > --- > > > > > > libavformat/demux.c | 61 > > ++++++++++++++++++++++++++++++++++++++++++++++++----- > > > 1 file changed, 56 insertions(+), 5 deletions(-) > > > > This breaks ffprobe "Closed Caption" output > > before: > > Stream #0:2[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), > > 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 59.94 tbr, 90k tbn > > > > Closed Captions are sparse side data, we shouldn't be exposing it like this > to begin with. +1 -- Anton Khirnov _______________________________________________ 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".