Unified · Split
| @@ -84,14 +84,6 @@ static int config_input(AVFilterLink *inlink) · 83 unmodified lines | |||
| 84 | return 0; | 84 | return 0; |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | static AVFrame *get_video_buffer(AVFilterLink *inlink, int w, int h) | ||
| 88 | { | ||
| 89 | AVFilterContext *ctx = inlink->dst; | ||
| 90 | AVFilterLink *outlink = ctx->outputs[0]; | ||
| 91 | |||
| 92 | return ff_get_video_buffer(outlink, w, h); | ||
| 93 | } | ||
| 94 | |||
| 95 | static int filter_frame(AVFilterLink *inlink, AVFrame *frame) | 87 | static int filter_frame(AVFilterLink *inlink, AVFrame *frame) |
| 96 | { | 88 | { |
| 97 | AVFilterContext *ctx = inlink->dst; | 89 | AVFilterContext *ctx = inlink->dst; |
| @@ -174,7 +166,6 @@ static const AVFilterPad avfilter_vf_fieldorder_inputs[] = { · 76 unmodified lines | |||
| 174 | .name = "default", | 166 | .name = "default", |
| 175 | .type = AVMEDIA_TYPE_VIDEO, | 167 | .type = AVMEDIA_TYPE_VIDEO, |
| 176 | .config_props = config_input, | 168 | .config_props = config_input, |
| 177 | .get_video_buffer = get_video_buffer, | ||
| 178 | .filter_frame = filter_frame, | 169 | .filter_frame = filter_frame, |
| 179 | .needs_writable = 1, | 170 | .needs_writable = 1, |
| 180 | }, | 171 | }, |