diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-29 05:28:36 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-29 05:52:31 +0100 |
commit | 3fd8e07265d247fd502bc7c9fcf09fa922f82335 (patch) | |
tree | 641ec615d392acc3964b940ba118f4a894800121 /libavfilter/vsrc_mandelbrot.c | |
parent | 9236e9f1e11413edf540485d3f6a8aff4f8dac52 (diff) | |
download | ffmpeg-3fd8e07265d247fd502bc7c9fcf09fa922f82335.tar.gz |
vsrc_mandelbrot: switch to filter_frame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vsrc_mandelbrot.c')
-rw-r--r-- | libavfilter/vsrc_mandelbrot.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c index db7c9cafde..1244edfee7 100644 --- a/libavfilter/vsrc_mandelbrot.c +++ b/libavfilter/vsrc_mandelbrot.c @@ -387,11 +387,8 @@ static int request_frame(AVFilterLink *link) picref->pts = mb->pts++; picref->pos = -1; - ff_start_frame(link, avfilter_ref_buffer(picref, ~0)); draw_mandelbrot(link->src, (uint32_t*)picref->data[0], picref->linesize[0]/4, picref->pts); - ff_draw_slice(link, 0, mb->h, 1); - ff_end_frame(link); - avfilter_unref_buffer(picref); + ff_filter_frame(link, picref); return 0; } |