[FFmpeg-devel] [PATCH] Allow RTMP connection creation to be interrupted
Art Clarke
aclarke
Fri Jul 31 16:52:11 CEST 2009
$subject
--
http://www.xuggle.com/
xu?ggle (z?' gl) v. To freely encode, decode, and experience audio and
video.
Use Xuggle to get the power of FFmpeg in Java.
-------------- next part --------------
Index: libavformat/rtmpproto.c
===================================================================
--- libavformat/rtmpproto.c (revision 19557)
+++ libavformat/rtmpproto.c (working copy)
@@ -635,7 +635,7 @@
do {
ret = get_packet(s, 1);
- } while (ret == EAGAIN);
+ } while (ret == EAGAIN && !url_interrupt_cb());
if (ret < 0)
goto fail;
// generate FLV header for demuxer
More information about the ffmpeg-devel
mailing list