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

Matthieu Bouron matthieu.bouron at gmail.com
Mon Mar 19 11:38:56 CET 2012


2012/3/17 Matthieu Bouron <matthieu.bouron at gmail.com>:
> 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

ping


More information about the ffmpeg-devel mailing list