[FFmpeg-cvslog] lavfi/avf_showspectrum: do not push the frame at EOF.
Nicolas George
git at videolan.org
Thu Aug 14 19:53:45 CEST 2014
ffmpeg | branch: master | Nicolas George <george at nsup.org> | Sun Aug 3 16:40:54 2014 +0200| [d4de6d4fadcc70fb96ba0f3793e7ebaf4ddc3da9] | committer: Nicolas George
lavfi/avf_showspectrum: do not push the frame at EOF.
It is always identical to the last pushed frame.
The samples in the last incomplete window were ignored,
this is unchanged.
Possible enhancement: pad the last incomplete window with
silence.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d4de6d4fadcc70fb96ba0f3793e7ebaf4ddc3da9
---
libavfilter/avf_showspectrum.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index 28db8b1..e925556 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -281,8 +281,6 @@ static int request_frame(AVFilterLink *outlink)
ret = ff_request_frame(inlink);
} while (!s->req_fullfilled && ret >= 0);
- if (ret == AVERROR_EOF && s->outpicref)
- push_frame(outlink);
return ret;
}
More information about the ffmpeg-cvslog
mailing list