avdeinterlace: Register all filters and only disable all except for yadif during compilation

Otherwise avdeinterlace won't find any filters, and we only use yadif in
there.

https://bugzilla.gnome.org/show_bug.cgi?id=765319
This commit is contained in:
Sebastian Dröge 2016-04-20 15:27:45 +03:00
parent 9800b1135e
commit ae3a80eec7
2 changed files with 3 additions and 1 deletions

View file

@ -362,7 +362,7 @@ else
--disable-programs --disable-ffserver --disable-ffplay --disable-ffprobe --disable-ffmpeg \
--disable-encoder=flac --disable-protocols --disable-devices \
--disable-network --disable-hwaccels --disable-dxva2 --disable-vdpau \
--disable-filters --disable-doc --disable-vda --disable-d3d11va --disable-dxva2 \
--disable-filters --enable-filter=yadif --disable-doc --disable-vda --disable-d3d11va --disable-dxva2 \
--disable-iconv --enable-optimizations"
if test "x$enable_gpl" == "xyes"; then

View file

@ -30,6 +30,7 @@
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavfilter/avfiltergraph.h>
#include "gstav.h"
#include "gstavutils.h"
@ -151,6 +152,7 @@ plugin_init (GstPlugin * plugin)
gst_ffmpeg_init_pix_fmt_info ();
av_register_all ();
avfilter_register_all ();
gst_ffmpegaudenc_register (plugin);
gst_ffmpegvidenc_register (plugin);