Re: [FFmpeg-devel] Blocking vs non-blocking modes in protocols

2019-09-02 Thread Andriy Gelman
Nicolas, thank you for clarifying On Mon, 02. Sep 17:21, Nicolas George wrote: > Andriy Gelman (12019-09-01): > > Below are my notes on blocking and non-blocking modes in protocols. Proposed > > changes that I'd like to make are at the end. > > > > Thanks, > > Andriy > > > > > > ---General

Re: [FFmpeg-devel] Blocking vs non-blocking modes in protocols

2019-09-02 Thread Nicolas George
So, let us survey the state of blocking and non-blocking mode at this date in FFmpeg. First, why and how. This is a question of how the program is designed. There are two big classes of design: output-driven and input-driven. An output-driven design decides it wants to produce some output and rea

Re: [FFmpeg-devel] Blocking vs non-blocking modes in protocols

2019-09-02 Thread Nicolas George
Andriy Gelman (12019-09-01): > Below are my notes on blocking and non-blocking modes in protocols. Proposed > changes that I'd like to make are at the end. > > Thanks, > Andriy > > > ---General notes-- > -blocking mode- > - transfer_function deals with polling and timeout > - block ins

[FFmpeg-devel] Blocking vs non-blocking modes in protocols

2019-09-01 Thread Andriy Gelman
Marton, Below are my notes on blocking and non-blocking modes in protocols. Proposed changes that I'd like to make are at the end. Thanks, Andriy ---General notes-- -blocking mode- - transfer_function deals with polling and timeout - block inside transfer_function for max rw_timeout.