diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-30 11:20:32 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-05 09:38:16 +0200 |
commit | 803391f7195ba37a553026009ff989d6e2625d8f (patch) | |
tree | 4516f7e9e0ca7a4a15b7e610efecc4381de7814e /libavfilter/vsrc_movie.c | |
parent | fa417fcd278a003530fe6bf851f8194177a5e71f (diff) | |
download | ffmpeg-803391f7195ba37a553026009ff989d6e2625d8f.tar.gz |
lavfi: remove request/poll and drawing functions from public API on next bump
They are only useful inside filters and we don't allow user filters for
now.
Diffstat (limited to 'libavfilter/vsrc_movie.c')
-rw-r--r-- | libavfilter/vsrc_movie.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index 45772319c6..ff3022cdd6 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -37,6 +37,7 @@ #include "libavformat/avformat.h" #include "avfilter.h" #include "formats.h" +#include "video.h" typedef struct { const AVClass *class; @@ -287,9 +288,9 @@ static int request_frame(AVFilterLink *outlink) return ret; outpicref = avfilter_ref_buffer(movie->picref, ~0); - avfilter_start_frame(outlink, outpicref); - avfilter_draw_slice(outlink, 0, outlink->h, 1); - avfilter_end_frame(outlink); + ff_start_frame(outlink, outpicref); + ff_draw_slice(outlink, 0, outlink->h, 1); + ff_end_frame(outlink); avfilter_unref_buffer(movie->picref); movie->picref = NULL; |