[FFmpeg-devel] [PATCH] lavfi/vf_mpdecimate: remove request_frame().
Nicolas George
george at nsup.org
Sun Nov 29 13:36:48 CET 2015
It is no longer needed since looping is not necessary.
Signed-off-by: Nicolas George <george at nsup.org>
---
libavfilter/vf_mpdecimate.c | 14 --------------
1 file changed, 14 deletions(-)
Passes the FATE test (the one that is broken for windows).
This is the last filter that needed updatint.
diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c
index 25efacf..e0d75e0 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -221,19 +221,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur)
return 0;
}
-static int request_frame(AVFilterLink *outlink)
-{
- DecimateContext *decimate = outlink->src->priv;
- AVFilterLink *inlink = outlink->src->inputs[0];
- int ret;
-
- do {
- ret = ff_request_frame(inlink);
- } while (decimate->drop_count > 0 && ret >= 0);
-
- return ret;
-}
-
static const AVFilterPad mpdecimate_inputs[] = {
{
.name = "default",
@@ -248,7 +235,6 @@ static const AVFilterPad mpdecimate_outputs[] = {
{
.name = "default",
.type = AVMEDIA_TYPE_VIDEO,
- .request_frame = request_frame,
},
{ NULL }
};
--
2.6.2
More information about the ffmpeg-devel
mailing list