aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vsrc_movie.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-30 11:20:32 +0200
committerAnton Khirnov <anton@khirnov.net>2012-06-05 09:38:16 +0200
commit803391f7195ba37a553026009ff989d6e2625d8f (patch)
tree4516f7e9e0ca7a4a15b7e610efecc4381de7814e /libavfilter/vsrc_movie.c
parentfa417fcd278a003530fe6bf851f8194177a5e71f (diff)
downloadffmpeg-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.c7
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;