diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-09-04 22:12:15 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-10-31 02:32:20 +0400 |
commit | b420b87848c4c2f10b8fb218e8f0a0cedcfeca30 (patch) | |
tree | c25f68eaae82cae020616a2e5564b398d41bfd50 /libavfilter | |
parent | 7adc6002199233017c9ef138911b39118db3aea0 (diff) |
lavfi/tinterlace: remove poll_frame() callback
That interface is deprecated, and apparently useless.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_tinterlace.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 99e3222090..70e1eab092 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -330,24 +330,6 @@ static int end_frame(AVFilterLink *inlink) return 0; } -static int poll_frame(AVFilterLink *outlink) -{ - TInterlaceContext *tinterlace = outlink->src->priv; - AVFilterLink *inlink = outlink->src->inputs[0]; - int ret, val; - - val = ff_poll_frame(inlink); - - if (val == 1 && !tinterlace->next) { - if ((ret = ff_request_frame(inlink)) < 0) - return ret; - val = ff_poll_frame(inlink); - } - av_assert0(tinterlace->next); - - return val; -} - static int request_frame(AVFilterLink *outlink) { TInterlaceContext *tinterlace = outlink->src->priv; @@ -385,7 +367,6 @@ AVFilter avfilter_vf_tinterlace = { { .name = "default", .type = AVMEDIA_TYPE_VIDEO, .config_props = config_out_props, - .poll_frame = poll_frame, .request_frame = request_frame }, { .name = NULL} }, |