]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
include filters in static ffmpeg build, fixes #3261
authorManuel Lauss <manuel.lauss@gmail.com>
Tue, 3 Nov 2015 21:13:21 +0000 (22:13 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 4 Nov 2015 11:02:26 +0000 (12:02 +0100)
Makefile
Makefile.ffmpeg

index ffcae63d515a3e8425e5754152cec7cc7282eb65..7545fc2cef563a2b43a02545990d3076b6ebfcbc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -66,6 +66,7 @@ LDFLAGS_FFDIR = ${ROOTDIR}/libav_static/build/ffmpeg/lib
 LDFLAGS += ${LDFLAGS_FFDIR}/libavresample.a
 LDFLAGS += ${LDFLAGS_FFDIR}/libswresample.a
 LDFLAGS += ${LDFLAGS_FFDIR}/libavfilter.a
+LDFLAGS += ${LDFLAGS_FFDIR}/libswscale.a
 LDFLAGS += ${LDFLAGS_FFDIR}/libavutil.a
 LDFLAGS += ${LDFLAGS_FFDIR}/libavformat.a
 LDFLAGS += ${LDFLAGS_FFDIR}/libavcodec.a
index 33158952d98a76edb84bdb9aa2d466f8448b9e36..4ab5e15c5af389c62c477f7a78f1a73dfaa0394e 100644 (file)
@@ -62,12 +62,13 @@ FFMPEG_URL      = http://ffmpeg.org/releases/$(FFMPEG_TB)
 FFMPEG_SHA1     = 95046cd9251b69c61b11ebcd1e163ac14d0fc2c6
 
 EXTLIBS         = libx264 libvorbis libvpx
-COMPONENTS      = avutil avformat avcodec swresample avfilter avresample
+COMPONENTS      = avutil avformat avcodec swresample swscale avfilter avresample
 PROTOCOLS       = file
 DECODERS        = mpeg2video mp2 ac3 eac3 h264 h264_vdpau hevc aac aac_latm vorbis libvorbis
 ENCODERS        = mpeg2video mp2 libx264 libvpx_vp8 libvpx_vp9 aac libaacplus vorbis libvorbis
 MUXERS          = mpegts mpeg2dvd matroska webm
 BSFS            = h264_mp4toannexb hevc_mp4toannexb
+FILTERS         = yadif scale
 
 LIBOGG          = libogg-1.3.2
 LIBOGG_TB       = $(LIBOGG).tar.gz
@@ -370,7 +371,8 @@ $(LIBAVDIR)/$(FFMPEG)/.tvh_build: \
                $(foreach decoder,$(DECODERS),--enable-decoder=$(decoder)) \
                $(foreach encoder,$(ENCODERS),--enable-encoder=$(encoder)) \
                $(foreach muxer,$(MUXERS),--enable-muxer=$(muxer)) \
-               $(foreach bsf,$(BSFS),--enable-bsf=$(bsf))
+               $(foreach bsf,$(BSFS),--enable-bsf=$(bsf)) \
+               $(foreach filter,$(FILTERS),--enable-filter=$(filter))
        DESTDIR=$(LIBAVDIR)/build \
                $(MAKE) -C $(LIBAVDIR)/$(FFMPEG) install
        @touch $@