Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-11-29 06:56:07 +0400
committerClément Bœsch <ubitux@gmail.com>2012-11-29 14:44:20 +0400
commit9262f13269b1dfdd01deee4104a233f8916c1597 (patch)
tree826a404f4c275df810ca4d4d1c59a8fb8c54099e /libavfilter/avf_showspectrum.c
parent605f1d9865d46f3db5b56b7cac343a3f33637950 (diff)
lavfi/show{spectrum,waves}: use ff_filter_frame().
Diffstat (limited to 'libavfilter/avf_showspectrum.c')
-rw-r--r--libavfilter/avf_showspectrum.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index 5a0aea2eb5..977fca92a6 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -188,9 +188,7 @@ inline static void push_frame(AVFilterLink *outlink)
showspectrum->filled = 0;
showspectrum->req_fullfilled = 1;
- ff_start_frame(outlink, avfilter_ref_buffer(showspectrum->outpicref, ~AV_PERM_WRITE));
- ff_draw_slice(outlink, 0, outlink->h, 1);
- ff_end_frame(outlink);
+ ff_filter_frame(outlink, avfilter_ref_buffer(showspectrum->outpicref, ~AV_PERM_WRITE));
}
static int request_frame(AVFilterLink *outlink)