summaryrefslogtreecommitdiff
path: root/libavfilter/allfilters.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-05-05 10:22:55 +0200
committerAnton Khirnov <anton@khirnov.net>2012-05-06 16:22:29 +0200
commit25b3babe111a37697d98890400f5864f560ae167 (patch)
tree413c6a3b9f7adbdd9aca575c9189155784cb4443 /libavfilter/allfilters.c
parentfd18ee0ff659fc73e56bd43f5b93ed82934c6c7f (diff)
lavfi: always enable the scale filter and depend on sws.
The scale filter is used for internal colorspace conversions, so it must always be present.
Diffstat (limited to 'libavfilter/allfilters.c')
-rw-r--r--libavfilter/allfilters.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
index ba66941002..198e152cb0 100644
--- a/libavfilter/allfilters.c
+++ b/libavfilter/allfilters.c
@@ -66,7 +66,6 @@ void avfilter_register_all(void)
REGISTER_FILTER (OVERLAY, overlay, vf);
REGISTER_FILTER (PAD, pad, vf);
REGISTER_FILTER (PIXDESCTEST, pixdesctest, vf);
- REGISTER_FILTER (SCALE, scale, vf);
REGISTER_FILTER (SELECT, select, vf);
REGISTER_FILTER (SETDAR, setdar, vf);
REGISTER_FILTER (SETPTS, setpts, vf);
@@ -89,9 +88,14 @@ void avfilter_register_all(void)
REGISTER_FILTER (NULLSINK, nullsink, vsink);
- /* vsrc_buffer is a part of public API => registered unconditionally */
+ /* those filters are part of public or internal API => registered
+ * unconditionally */
{
extern AVFilter avfilter_vsrc_buffer;
avfilter_register(&avfilter_vsrc_buffer);
}
+ {
+ extern AVFilter avfilter_vf_scale;
+ avfilter_register(&avfilter_vf_scale);
+ }
}