diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-12-18 15:04:48 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-12-23 18:57:01 +0100 |
commit | 5af53731d9788897240b3ed9c9176902f2788682 (patch) | |
tree | 440943b10386d6a45b83dff385a292bb3efa52f6 | |
parent | f3298f12997eb4b7ad203766f768f92e3dd72a2a (diff) | |
download | ffmpeg-5af53731d9788897240b3ed9c9176902f2788682.tar.gz |
avfilter: Compile FIFO filters unconditionally
Building libavfilter without that functionality makes little sense.
-rw-r--r-- | libavfilter/Makefile | 3 | ||||
-rw-r--r-- | libavfilter/allfilters.c | 10 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libavfilter/Makefile b/libavfilter/Makefile index a37d422fb8..4a3331afa1 100644 --- a/libavfilter/Makefile +++ b/libavfilter/Makefile @@ -19,11 +19,11 @@ OBJS = allfilters.o \ buffersink.o \ buffersrc.o \ drawutils.o \ + fifo.o \ formats.o \ graphparser.o \ video.o \ -OBJS-$(CONFIG_AFIFO_FILTER) += fifo.o OBJS-$(CONFIG_AFORMAT_FILTER) += af_aformat.o OBJS-$(CONFIG_AMIX_FILTER) += af_amix.o OBJS-$(CONFIG_ANULL_FILTER) += af_anull.o @@ -50,7 +50,6 @@ OBJS-$(CONFIG_DRAWBOX_FILTER) += vf_drawbox.o OBJS-$(CONFIG_DRAWTEXT_FILTER) += vf_drawtext.o OBJS-$(CONFIG_FADE_FILTER) += vf_fade.o OBJS-$(CONFIG_FIELDORDER_FILTER) += vf_fieldorder.o -OBJS-$(CONFIG_FIFO_FILTER) += fifo.o OBJS-$(CONFIG_FORMAT_FILTER) += vf_format.o OBJS-$(CONFIG_FPS_FILTER) += vf_fps.o OBJS-$(CONFIG_FREI0R_FILTER) += vf_frei0r.o diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c index 0d7cbc2d09..dd05603056 100644 --- a/libavfilter/allfilters.c +++ b/libavfilter/allfilters.c @@ -35,7 +35,6 @@ void avfilter_register_all(void) return; initialized = 1; - REGISTER_FILTER (AFIFO, afifo, af); REGISTER_FILTER (AFORMAT, aformat, af); REGISTER_FILTER (AMIX, amix, af); REGISTER_FILTER (ANULL, anull, af); @@ -62,7 +61,6 @@ void avfilter_register_all(void) REGISTER_FILTER (DRAWTEXT, drawtext, vf); REGISTER_FILTER (FADE, fade, vf); REGISTER_FILTER (FIELDORDER, fieldorder, vf); - REGISTER_FILTER (FIFO, fifo, vf); REGISTER_FILTER (FORMAT, format, vf); REGISTER_FILTER (FPS, fps, vf); REGISTER_FILTER (FREI0R, frei0r, vf); @@ -119,4 +117,12 @@ void avfilter_register_all(void) extern AVFilter avfilter_asink_abuffer; avfilter_register(&avfilter_asink_abuffer); } + { + extern AVFilter avfilter_af_afifo; + avfilter_register(&avfilter_af_afifo); + } + { + extern AVFilter avfilter_vf_fifo; + avfilter_register(&avfilter_vf_fifo); + } } |