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 646E24C3B1 for ; Thu, 6 Feb 2025 21:03:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 063A368B9B1; Thu, 6 Feb 2025 23:03:30 +0200 (EET) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4946D68B518 for ; Thu, 6 Feb 2025 23:03:23 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id A33DC20454 for ; Thu, 6 Feb 2025 21:03:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1738875802; 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=q/3/hT6RCo2tNkiSqUWSyPdi9uTCxF4SVj7zUWhbzyU=; b=I06mufewLg2T17r/9QFqtjBoMyow+1AjJ8BcMJavdGAlhiIxmE3iOYiqHiutB3Eai77tm7 tTivIOvm1quWsX5rHmDYKrnYf84BUdTuxmRZV32QODOj+6Foa8Mj6JneZoasgPrLCFX7oO Jh26G6QbZt4BAZDE7vY45bnwESWDZ2iY44s04DipEIST0I226bLrWbYd3McJHVowxUgrwj vHfRusncH9zCYBlOm/kHTKuDzoFdsfwx8IAHfdh+TGhERzlZs6OH5We681TdlwKJN0OzjK 1YS6n5w6hljQjaLGn7MNSyTUDEmuX6bGiFLT/FXg1qKnMCObyxXucXTLbHaknQ== Date: Thu, 6 Feb 2025 22:03:21 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250206210321.GA4991@pb2> References: <20250206121023.2719624-1-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvjeegudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepffehvefhvddvhfdtgfethfdtueelfedtveekffeljeethfegtdfhfefggfeufedtnecuffhomhgrihhnpehffhhmphgvghdrohhrghenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avformat/hls: Fix twitter 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="===============2005124554245199119==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2005124554245199119== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/sooAmGWwcwPqxJr" Content-Disposition: inline --/sooAmGWwcwPqxJr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 06, 2025 at 08:17:05PM +0800, Steven Liu wrote: > Michael Niedermayer =E4=BA=8E2025=E5=B9=B42=E6= =9C=886=E6=97=A5=E5=91=A8=E5=9B=9B 20:10=E5=86=99=E9=81=93=EF=BC=9A > > > > Allow mp4 with all mpegts extensions > > > > Fixes: Ticket11435 > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/hls.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/libavformat/hls.c b/libavformat/hls.c > > index 8eae64b787e..3bdc1bc8489 100644 > > --- a/libavformat/hls.c > > +++ b/libavformat/hls.c > > @@ -755,8 +755,8 @@ static int test_segment(AVFormatContext *s, const A= VInputFormat *in_fmt, struct > > matchF =3D av_match_ext( seg->url, in_fmt->extensi= ons) > > + 2*(ff_match_url_ext(seg->url, in_fmt->extension= s) > 0); > > if(av_match_name("mp4", in_fmt->name)) { > > - matchF |=3D av_match_ext( seg->url, "ts") > > - + 2*(ff_match_url_ext(seg->url, "ts") > 0); > > + matchF |=3D av_match_ext( seg->url, "ts,m2t,m2= ts,mts,mpg,m4s,mpeg,mpegts") > > + + 2*(ff_match_url_ext(seg->url, "ts,m2t,m2ts= ,mts,mpg,m4s,mpeg,mpegts") > 0); > > } > > } else if (!strcmp(in_fmt->name, "mpegts")) { > > matchF =3D av_match_ext( seg->url, "ts,m2t,m2ts,mt= s,mpg,m4s,mpeg,mpegts") > > -- > > 2.48.1 > > > > _______________________________________________ > > 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". >=20 > LGTM will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Some people wanted to paint the bikeshed green, some blue and some pink. People argued and fought, when they finally agreed, only rust was left. --/sooAmGWwcwPqxJr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ6UjmQAKCRBhHseHBAsP q2VNAJ9bVwg9VyqRSo1D+RHFxpbIqV0XAQCdHLOUPHcJlrJCa8nV++2ELZzGqiI= =uW98 -----END PGP SIGNATURE----- --/sooAmGWwcwPqxJr-- --===============2005124554245199119== 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". --===============2005124554245199119==--