[FFmpeg-devel] [PATCH] avformat/unix: properly handling timeout at reading
Nicolas George
george at nsup.org
Tue Mar 20 21:50:07 EET 2018
Bodecs Bela (2018-03-20):
> avio rw_timeout handling in retry_transfer_wrapper() is based on returning
> EAGAIN from protocols' read function. unix_read function returns 0 in
> case of no data was read. It happens even if timeout it set for a valid
> value and thus rw_timeout handling can not work and wait for ever. This
> patch fixes the return value to AVERROR(EAGAIN) when recv()
> reads/returns zero value/data and timeout is set.
I am pretty sure this is not correct. Can you tell how you did observe
that?
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180320/fe878ce4/attachment.sig>
More information about the ffmpeg-devel
mailing list