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 3D4654C26C for ; Fri, 23 May 2025 18:53:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id E6F3868DEDC; Fri, 23 May 2025 21:53:16 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id B7BB868D580 for ; Fri, 23 May 2025 21:53:10 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 1576343B83 for ; Fri, 23 May 2025 18:53:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1748026390; 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=acMKeC16udt+GKIDVhS3tbUj8x32VonmXvgNYvUWz+4=; b=bjXsUjvEgrAhmPdj74Pwj1TF46GQ1rB3/8HFLojK875Wp/0yUyGmTkoi0uXUEk67RvM5IV SX+fLDxkdQuhUfXL84uc3+DTAJxeUDLGdsxNrAviEUB3z51dT8zr3IMvGGCIoBrFlfNCOm CdfVvZ6YZfD6LwHVCg1Fbu0Hv7weWQGh7xOhz4A2WX+OAB5nddU5Kgn6sWDZyNdds4d4Yz pjobeTDqXl0hk/I213e6Cauml8a33sfZj6U0T82DTO/QZOvtYuj+3XueWhhQxjwMnncrqy eIdeZll9JIyVRnqsQEnxi4oWUT3ul6qBTNcsW3To8qC9Zd+CQRp2c+mM2ZrJNQ== Date: Fri, 23 May 2025 20:53:09 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250523185309.GG29660@pb2> References: <20250523001124.38155-1-epirat07@gmail.com> MIME-Version: 1.0 In-Reply-To: <20250523001124.38155-1-epirat07@gmail.com> X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdeliedvucdltddurdegfedvrddttddmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avformat/sdp: add framerate entry 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="===============7723998740259762743==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7723998740259762743== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Hfq6WoidoTeND1CZ" Content-Disposition: inline --Hfq6WoidoTeND1CZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Marvin On Fri, May 23, 2025 at 02:11:24AM +0200, Marvin Scholz wrote: > --- > libavformat/sdp.c | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/libavformat/sdp.c b/libavformat/sdp.c > index 215e38f8fc..21ada5d1ce 100644 > --- a/libavformat/sdp.c > +++ b/libavformat/sdp.c > @@ -867,6 +867,9 @@ int ff_sdp_write_media(char *buff, int size, const AV= Stream *st, int idx, > if (p->bit_rate) { > av_strlcatf(buff, size, "b=3DAS:%"PRId64"\r\n", p->bit_rate / 10= 00); > } > + if (p->framerate.num > 0 && p->framerate.den > 0) { > + av_strlcatf(buff, size, "a=3Dframerate:%g\r\n", av_q2d(p->framer= ate)); > + } > =20 > return sdp_write_media_attributes(buff, size, st, payload_type, fmt); > } > --=20 > 2.39.5 (Apple Git-154) breaks fate: TEST lavf-mov_rtphint --- ./tests/ref/lavf/mov_rtphint 2025-05-23 14:14:31.476447585 +0200 +++ tests/data/fate/lavf-mov_rtphint 2025-05-23 20:51:14.221038582 +0200 @@ -1,3 +1,3 @@ -d3d0b0a15e2207e1d69b7de5c0ff845c *tests/data/lavf/lavf.mov_rtphint -365745 tests/data/lavf/lavf.mov_rtphint +e5e994cd3885a28304229f5e277c1917 *tests/data/lavf/lavf.mov_rtphint +365761 tests/data/lavf/lavf.mov_rtphint tests/data/lavf/lavf.mov_rtphint CRC=3D0xbb2b949b Test lavf-mov_rtphint failed. Look at tests/data/fate/lavf-mov_rtphint.err = for details. make: *** [tests/Makefile:316: fate-lavf-mov_rtphint] Error 1 [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. -- Gandalf --Hfq6WoidoTeND1CZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaDDEEQAKCRBhHseHBAsP qwfaAJ9PmSBCquFe33VH6/+570+TtIuitQCeN5Z+0BCIU80aQFokK9pJiEoY1i8= =QdYX -----END PGP SIGNATURE----- --Hfq6WoidoTeND1CZ-- --===============7723998740259762743== 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". --===============7723998740259762743==--