[FFmpeg-devel] [PATCH] fix ffplay to keep calling av_read_frame after EOF
Fri Oct 8 00:42:53 CEST 2010
On Thu, Oct 07, 2010 at 08:00:10PM +0200, Michael Chinen wrote:
> ffplay stops calling av_read_frame as soon as EOF is hit, but it
> should keep going until av_read_frame stops giving back packets.
> The FLAC parser needs this to play the last few frames.
> ffplay.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 37316a8fbb7620139992cc2ab9c938322976d35a 0001-fix-ffplay-to-keep-calling-av_read_frame-even-if-EOF.patch
> From 4bb76c399ea534973bf415565231ab0a5d228969 Mon Sep 17 00:00:00 2001
this would be ok if all demuxers returned AVERROR_EOF at the end but they dont.
so this patch would break many demuxers.
if you could change ffmpeg so it warns when there is no AVERROR_EOF at the end
then it would be more vissible and maintainers and authors of new dmuxers
would see it and could fix it
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel