[FFmpeg-devel] [PATCH] gxf: return AVERROR_EOF instead of AVERROR(EIO) at end of gxf_packet

Matthieu Bouron matthieu.bouron at gmail.com
Sat Mar 17 11:26:30 CET 2012


Hi,

gxf_packet should return AVERROR_EOF instead of AVERROR(EIO) if end of
stream is reached.
Returning AVERROR(EIO) makes movie/amovie unable to detect the end of
the stream and causes infinite loop.
Example ffmpeg -f lavfi -i
'movie=test.gxf[out0],amovie=test.gxf[out1]' -f null /dev/null.

Please comment,
Matthieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gxf-return-AVERROR_EOF-instead-of-AVERROR-EIO-at-end.patch
Type: application/octet-stream
Size: 735 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120317/6c19e572/attachment.obj>


More information about the ffmpeg-devel mailing list