aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vsrc_life.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-01 01:24:21 +0100
committerClément Bœsch <ubitux@gmail.com>2012-12-02 00:23:45 +0100
commitf61369d7621bcf9e0f3e9f133bf615889f2953a2 (patch)
treef27005ac03ad3909dfc403d7844bb89e6f224b73 /libavfilter/vsrc_life.c
parent6d2892c9f597f1a82e7884648393fd92293ce107 (diff)
downloadffmpeg-f61369d7621bcf9e0f3e9f133bf615889f2953a2.tar.gz
lavfi/vsrc: switch to ff_filter_frame.
Diffstat (limited to 'libavfilter/vsrc_life.c')
-rw-r--r--libavfilter/vsrc_life.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c
index ebe6cc2968..d8b8355126 100644
--- a/libavfilter/vsrc_life.c
+++ b/libavfilter/vsrc_life.c
@@ -439,11 +439,7 @@ static int request_frame(AVFilterLink *outlink)
#ifdef DEBUG
show_life_grid(outlink->src);
#endif
-
- ff_start_frame(outlink, avfilter_ref_buffer(picref, ~0));
- ff_draw_slice(outlink, 0, life->h, 1);
- ff_end_frame(outlink);
- avfilter_unref_buffer(picref);
+ ff_filter_frame(outlink, picref);
return 0;
}