[FFmpeg-devel] [PATCH] configure: add missing optional dependecy on libxvid to mpegvideoenc
James Almer
jamrial at gmail.com
Mon Nov 13 06:38:09 EET 2017
It uses some of its rate control functionality when available.
This also reverts commit 91df92e442844fbde69396d169bb352091cbb66f,
implementing a proper fix instead.
Signed-off-by: James Almer <jamrial at gmail.com>
---
configure | 1 +
libavcodec/Makefile | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 46b4815f2e..bf50bfcfc3 100755
--- a/configure
+++ b/configure
@@ -2416,6 +2416,7 @@ mpegaudio_select="mpegaudiodsp mpegaudioheader"
mpegaudiodsp_select="dct"
mpegvideo_select="blockdsp h264chroma hpeldsp idctdsp me_cmp mpeg_er videodsp"
mpegvideoenc_select="me_cmp mpegvideo pixblockdsp qpeldsp"
+mpegvideoenc_suggest="libxvid"
vc1dsp_select="h264chroma qpeldsp startcode"
rdft_select="fft"
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 8c5dfd6319..7ac4e13a06 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -96,6 +96,7 @@ OBJS-$(CONFIG_INTRAX8) += intrax8.o intrax8dsp.o msmpeg4data.o
OBJS-$(CONFIG_IVIDSP) += ivi_dsp.o
OBJS-$(CONFIG_JNI) += ffjni.o jni.o
OBJS-$(CONFIG_JPEGTABLES) += jpegtables.o
+OBJS-$(CONFIG_LIBXVID) += libxvid_rc.o
OBJS-$(CONFIG_LLAUDDSP) += lossless_audiodsp.o
OBJS-$(CONFIG_LLVIDDSP) += lossless_videodsp.o
OBJS-$(CONFIG_LLVIDENCDSP) += lossless_videoencdsp.o
@@ -958,7 +959,7 @@ OBJS-$(CONFIG_LIBX262_ENCODER) += libx264.o
OBJS-$(CONFIG_LIBX264_ENCODER) += libx264.o
OBJS-$(CONFIG_LIBX265_ENCODER) += libx265.o
OBJS-$(CONFIG_LIBXAVS_ENCODER) += libxavs.o
-OBJS-$(CONFIG_LIBXVID_ENCODER) += libxvid.o libxvid_rc.o
+OBJS-$(CONFIG_LIBXVID_ENCODER) += libxvid.o
OBJS-$(CONFIG_LIBZVBI_TELETEXT_DECODER) += libzvbi-teletextdec.o ass.o
# parsers
--
2.14.2
More information about the ffmpeg-devel
mailing list