[FFmpeg-devel] [PATCH] avformat/unix: properly handling timeout at reading
bodecsb at vivanet.hu
Wed Mar 21 00:22:41 EET 2018
2018.03.20. 22:41 keltezéssel, Nicolas George írta:
> Bodecs Bela (2018-03-20):
>> start a. and in a separate terminal window start b. After 10 seconds a.
>> terminates but b. remains running on infinite time.
> Ok, got it.
>> But I expected b. to
>> terminate after 1 sec (1000000 microsec) when no data received because a.
> Your expectation is wrong: it should terminate immediately.
> The correct fix is to return AVERROR_EOF, but only if the socket type is
thank you for your help! I have sent the new pacth in a different
thread, not to confuse others by the new patch title
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
More information about the ffmpeg-devel