From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id EE5084BF16 for ; Thu, 22 May 2025 22:58:42 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id BCAAF68DE6F; Fri, 23 May 2025 01:58:40 +0300 (EEST) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id BF88868DE69 for ; Fri, 23 May 2025 01:58:38 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id D36EA43217 for ; Thu, 22 May 2025 22:58:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1747954718; 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=fYnV68HD0W5dWur/gy9wGXJ/+X6fNIiFSboG7ZQ7VAk=; b=Okyoy2Fzln8RLNPTDcBHUVvJCeowQv7ObNSRg2SfIyPexQKRK3hhdf/Jnmcc/ALU7d7oqx zEfk1RPAYbtG+ZInwSXwdagtfsv5XmSsdzHL9/vYxgVFRVK27z6t/1yFNniyGC6WQVHrgB Lfcrwt3uJjvFfDdnWBBVW8Vrj8UZB2Tvp8LujFe2aPMRT6lcJkYNgvPmX/T0bUe6HabQH0 FgJgrw0s+GtHMooQNvxejGiDSoqES/BJ3/WYku5PpQIN8HPQPIUugZ0DMmHavOZchbn2ec QuGQZhUJzeVDyk+CeVCTTuFHLvQS/oUpEtKwo9ANweEfHWN/pLFI6p3LfoI3Wg== Date: Fri, 23 May 2025 00:58:36 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250522225836.GS29660@pb2> References: <20250517035029.202-1-kasper93@gmail.com> <20250517035029.202-2-kasper93@gmail.com> MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdejvddvucdltddurdegfedvrddttddmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeelkeeggfffiedufeejueffjeduhedttdduledtheevveevtdeiueelhfdtuedtkeenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat/imfdec: inherit opaque from parent AVFormatContext 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="===============8740635426857889237==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8740635426857889237== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Aop6knz/h5giBYf8" Content-Disposition: inline --Aop6knz/h5giBYf8 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Pierre On Fri, May 16, 2025 at 09:15:58PM -0700, Pierre-Anthony Lemieux wrote: > On Fri, May 16, 2025 at 8:51=E2=80=AFPM Kacper Michaj=C5=82ow wrote: > > > > io_open and io_close2 callbacks may use opaque pointer stored in the > > context. They are already inherited, so opaque should also be passed > > through. > > > > Fixes IMF playback in mpv. > > > > Signed-off-by: Kacper Michaj=C5=82ow > > --- > > libavformat/imfdec.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c > > index a86b4763ff..b4df37daa3 100644 > > --- a/libavformat/imfdec.c > > +++ b/libavformat/imfdec.c > > @@ -380,6 +380,7 @@ static int open_track_resource_context(AVFormatCont= ext *s, > > > > track_resource->ctx->io_open =3D s->io_open; > > track_resource->ctx->io_close2 =3D s->io_close2; > > + track_resource->ctx->opaque =3D s->opaque; >=20 > LGTM. will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB "I am not trying to be anyone's saviour, I'm trying to think about the future and not be sad" - Elon Musk --Aop6knz/h5giBYf8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaC+sHAAKCRBhHseHBAsP q6wbAJ4/iTsfiBYPpt3mk+cWJmK6cD+KNgCfXL7d2r8EPIoTInXgtPj4SiZ3vVE= =ZW15 -----END PGP SIGNATURE----- --Aop6knz/h5giBYf8-- --===============8740635426857889237== 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". --===============8740635426857889237==--