[FFmpeg-devel] [PATCH] Introduce flags for non-blocking protocols

Nicolas George nicolas.george
Wed Jan 12 15:38:08 CET 2011


Hi.

The recent discussion about EAGAIN has shown the need for a coherent
handling of blocking vs. non-blocking operations.

The attached patch introduces two flags, URL_FLAG_NONBLOCK and
URL_FLAG_OPEN_NONBLOCK. The flags are currently unused anywhere, I propose
them to open the discussion. If the principle is accepted, I intend to try
to implement them at least for TCP and UDP.

(Carl Eugen: you left the date and revision as XXX in your recent commit to
APIchanges.)

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-nonblock-20110112-1525-01-nonblock.diff
Type: text/x-diff
Size: 2580 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110112/b86c4c25/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110112/b86c4c25/attachment.pgp>



More information about the ffmpeg-devel mailing list