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 903E64A3E8 for ; Wed, 27 Mar 2024 14:03:23 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6135F68D5FC; Wed, 27 Mar 2024 16:03:20 +0200 (EET) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D715568BFE8 for ; Wed, 27 Mar 2024 16:03:12 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 09FEAE000B for ; Wed, 27 Mar 2024 14:03:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1711548192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6Wt45KP8ZzrMsh2laOak0LBwMeMg0E3xombbckQVJYw=; b=GHZtmBB2V4akHkQqmoHd+lKDTd57NwHVGQ6CJG6NKbNyU469Of6QDepaQDPXoH1BdGoXtl OTUrKiHInvfcoRDlM5wVahm3agNR0zpgLWFcwrFP1WlLoXDkkO8JgeWu0lSnSGgYNf8ZkL gFAqIjc7e8PVCB0Jg8DnzYA3yDN71/CYwIg353pgv333zhQD9LrDVd0tA2XB0uPMpeTbv0 leWz1jsP6lmn0KIRXSOeN9wFy1AFNbaXo1DVRHQ+v910S3MtoTkJL92bCxoFIc1P9GGViO YvXjNG9ay8iocmhpUJskb+EfeAPMy2XwAvnhvB6heiR6W9Kzl0nzq4zAaNvSow== Date: Wed, 27 Mar 2024 15:03:11 +0100 From: Michael Niedermayer To: ffmpeg-devel@ffmpeg.org Message-ID: <20240327140311.GC2460414@pb2> References: <20240209151959.C7231411B5B@natalya.videolan.org> MIME-Version: 1.0 In-Reply-To: <20240209151959.C7231411B5B@natalya.videolan.org> X-GND-Sasl: michael@niedermayer.cc 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: multipart/mixed; boundary="===============3291512204477182183==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3291512204477182183== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eqp4TxRxnD4KrmFZ" Content-Disposition: inline --eqp4TxRxnD4KrmFZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > lavf/demux: stop calling avcodec_close() >=20 > Replace it with recreating the codec context. >=20 > This is the last remaining blocker for deprecating avcodec_close(). >=20 > > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=3Dcommit;h=3Dca18bb597= 223b3df5bbf8a1836d157ba58b62570 > --- >=20 > 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), 192= 0x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 59.94 tbr, 90k tbn after: Stream #0:2[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, progressive), 192= 0x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn testcase: =2E/ffprobe ~/tickets/2147/sample.mpg 2>&1 | grep Stream thx should i open a ticket for this ? [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a program halts or runs forever is On a turing machine, in general impossible (turings halting problem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt. --eqp4TxRxnD4KrmFZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZgQnHAAKCRBhHseHBAsP q7vaAJ9ozcpmYB7nL1UQrc+y3jo/O9cOlgCfd6IZuLEWoc2+PYdTMBcyGB4jJ3k= =pqPy -----END PGP SIGNATURE----- --eqp4TxRxnD4KrmFZ-- --===============3291512204477182183== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============3291512204477182183==--