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 EB02543461 for ; Thu, 10 Nov 2022 19:52:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7A29268BC45; Thu, 10 Nov 2022 21:52:41 +0200 (EET) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AE8F468BBBC for ; Thu, 10 Nov 2022 21:52:35 +0200 (EET) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id D1A7A1C0005 for ; Thu, 10 Nov 2022 19:52:34 +0000 (UTC) Date: Thu, 10 Nov 2022 20:52:33 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20221110195233.GD1814017@pb2> References: <20221108112550.8375-1-anton@khirnov.net> <20221108112550.8375-2-anton@khirnov.net> <20221110122827.GZ1814017@pb2> <166808350478.1198.18430086573897178566@lain.khirnov.net> MIME-Version: 1.0 In-Reply-To: <166808350478.1198.18430086573897178566@lain.khirnov.net> Subject: Re: [FFmpeg-devel] [PATCH 2/5] lavf/demux: treat EAGAIN as REDO unless AVFMT_FLAG_NONBLOCK is set 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="===============8381707390417834648==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8381707390417834648== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Rln2GmQ7CFmDhc9B" Content-Disposition: inline --Rln2GmQ7CFmDhc9B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 10, 2022 at 01:31:44PM +0100, Anton Khirnov wrote: > Quoting Michael Niedermayer (2022-11-10 13:28:27) > > On Tue, Nov 08, 2022 at 12:25:47PM +0100, Anton Khirnov wrote: > > > Lavf only supports a very limited approximation of non-blocking > > > behavior, so we should not return random EAGAINs to callers unless th= ey > > > specifically requested it. > > > --- > > > libavformat/demux.c | 8 ++++++-- > > > 1 file changed, 6 insertions(+), 2 deletions(-) > >=20 > > this changes seeking behavior of for example: > > libavformat/tests/seek fate-suite/dss/sp.dss > >=20 > > (this seemed to return EAGAIN before sometimes) >=20 > Are you saying that is wrong? I don't see why seeks should return EAGAIN > either. I do not know if its wrong or not. I remember some seeking used error returns to switch to generic seeking and such stuff. I just reporrted this as i saw a difference in the tests/seek output thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you fake or manipulate statistics in a paper in physics you will never get a job again. If you fake or manipulate statistics in a paper in medicin you will get a job for life at the pharma industry. --Rln2GmQ7CFmDhc9B Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCY21WgAAKCRBhHseHBAsP qx60AJ9vbQUO5G+0/sbLbdH7y/VdRUqpFACfZ3jsng/pNS/nNnmP8Di7PaJSdCo= =mIOp -----END PGP SIGNATURE----- --Rln2GmQ7CFmDhc9B-- --===============8381707390417834648== 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". --===============8381707390417834648==--