mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
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:
parent
9800b1135e
commit
ae3a80eec7
2 changed files with 3 additions and 1 deletions
|
@ -362,7 +362,7 @@ else
|
||||||
--disable-programs --disable-ffserver --disable-ffplay --disable-ffprobe --disable-ffmpeg \
|
--disable-programs --disable-ffserver --disable-ffplay --disable-ffprobe --disable-ffmpeg \
|
||||||
--disable-encoder=flac --disable-protocols --disable-devices \
|
--disable-encoder=flac --disable-protocols --disable-devices \
|
||||||
--disable-network --disable-hwaccels --disable-dxva2 --disable-vdpau \
|
--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"
|
--disable-iconv --enable-optimizations"
|
||||||
|
|
||||||
if test "x$enable_gpl" == "xyes"; then
|
if test "x$enable_gpl" == "xyes"; then
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
|
|
||||||
#include <libavcodec/avcodec.h>
|
#include <libavcodec/avcodec.h>
|
||||||
#include <libavformat/avformat.h>
|
#include <libavformat/avformat.h>
|
||||||
|
#include <libavfilter/avfiltergraph.h>
|
||||||
|
|
||||||
#include "gstav.h"
|
#include "gstav.h"
|
||||||
#include "gstavutils.h"
|
#include "gstavutils.h"
|
||||||
|
@ -151,6 +152,7 @@ plugin_init (GstPlugin * plugin)
|
||||||
gst_ffmpeg_init_pix_fmt_info ();
|
gst_ffmpeg_init_pix_fmt_info ();
|
||||||
|
|
||||||
av_register_all ();
|
av_register_all ();
|
||||||
|
avfilter_register_all ();
|
||||||
|
|
||||||
gst_ffmpegaudenc_register (plugin);
|
gst_ffmpegaudenc_register (plugin);
|
||||||
gst_ffmpegvidenc_register (plugin);
|
gst_ffmpegvidenc_register (plugin);
|
||||||
|
|
Loading…
Reference in a new issue