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 ESMTPS id 8E0AB4CCCD for ; Tue, 25 Feb 2025 01:03:56 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6E41B68C7A6; Tue, 25 Feb 2025 03:03:53 +0200 (EET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3878C68C275 for ; Tue, 25 Feb 2025 03:03:47 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 8E63B44287 for ; Tue, 25 Feb 2025 01:03:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1740445426; 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=NrVlcMCJdDTdJeCFj6mweyRR+OO/2w4Zag7bhaQ3kwo=; b=kcqBoVWJBLHwEfJnyigrRGswBoozp8ZGSWgaL44iANXkD4/Y5GE9fhWOATNQlev1zxWx0W o/n2wKuxp+6ED5gxdF9naV+nSSvwItPxJxjFZlKcmFK6AyuH6TnK2nzLff9eScm+fgxgQT JDkwnvjU3PeanK4SE6bqYFzPL6GsffezsMAIZQj2vP+tPEI2itvmrjIZ9Q098cXmoJ1SKZ yCca4LA4glDeSjjnqDEbVwz6V4Exb5kNLbqmD3rL/s2nSGddgcfOMChioGA15FTGT2nvu6 a/Q9XFxdnXoVcFlVQDmG6EHMZR3s+N+lsg3AcMnVKrKUSpdJw7cCts6XuXGh1A== Date: Tue, 25 Feb 2025 02:03:45 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250225010345.GA4991@pb2> References: <7550e41042a5546c6ff1f6a75be714165c6d4230.1740150802.git.ffmpegagent@gmail.com> MIME-Version: 1.0 In-Reply-To: <7550e41042a5546c6ff1f6a75be714165c6d4230.1740150802.git.ffmpegagent@gmail.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdektdefudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/webvttdec: Add webvtt extension and MIME type 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="===============1267778715768242475==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1267778715768242475== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="i6/ItF3UWWsWP+O5" Content-Disposition: inline --i6/ItF3UWWsWP+O5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 21, 2025 at 03:13:22PM +0000, softworkz wrote: > From: softworkz >=20 > The webvtt extension is sometimes used in HLS playlists. >=20 > Signed-off-by: softworkz > --- > libavformat/webvttdec.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c > index 6e60348764..6feda1585e 100644 > --- a/libavformat/webvttdec.c > +++ b/libavformat/webvttdec.c > @@ -216,7 +216,8 @@ static const AVClass webvtt_demuxer_class =3D { > const FFInputFormat ff_webvtt_demuxer =3D { > .p.name =3D "webvtt", > .p.long_name =3D NULL_IF_CONFIG_SMALL("WebVTT subtitle"), > - .p.extensions =3D "vtt", > + .p.mime_type =3D "text/vtt", > + .p.extensions =3D "vtt,webvtt", > .p.priv_class =3D &webvtt_demuxer_class, > .priv_data_size =3D sizeof(WebVTTContext), > .flags_internal =3D FF_INFMT_FLAG_INIT_CLEANUP, should be ok maybe needs backporting thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you drop bombs on a foreign country and kill a hundred thousand innocent people, expect your government to call the consequence "unprovoked inhuman terrorist attacks" and use it to justify dropping more bombs and killing more people. The technology changed, the idea is old. --i6/ItF3UWWsWP+O5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ70W7gAKCRBhHseHBAsP q2ugAKCackLzaeuhf3SXOUwZyc8niCOtsACfSjVNmHENbEgjEa19TS98hCR8FEI= =aRM+ -----END PGP SIGNATURE----- --i6/ItF3UWWsWP+O5-- --===============1267778715768242475== 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". --===============1267778715768242475==--