[FFmpeg-devel] [PATCH] avformat/unix: properly handling timeout at reading
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel