summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-28 08:58:35 +0100
committerCarl Hetherington <cth@carlh.net>2026-01-28 21:09:45 +0100
commit2265c1ea01bd7b05884bf5090b21a7e136d61641 (patch)
treed27f62c46f393fd38ab94842db44aaab0a8814d8 /wscript
parent060f4968452123e79d3a8539b06e0e8b83880184 (diff)
Remove support for FFmpeg < 8.
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 1 insertions, 5 deletions
diff --git a/wscript b/wscript
index f9070cc47..4f8fda9cb 100644
--- a/wscript
+++ b/wscript
@@ -474,7 +474,7 @@ def configure(conf):
# FFmpeg
if conf.options.static_ffmpeg:
- names = ['avformat', 'avfilter', 'avcodec', 'avutil', 'swscale', 'postproc', 'swresample']
+ names = ['avformat', 'avfilter', 'avcodec', 'avutil', 'swscale', 'swresample']
for name in names:
static = subprocess.Popen(shlex.split('pkg-config --static --libs lib%s' % name), stdout=subprocess.PIPE).communicate()[0].decode('utf-8')
libs = []
@@ -502,10 +502,6 @@ def configure(conf):
conf.check_cfg(package='libavcodec', args='--cflags --libs', uselib_store='AVCODEC', mandatory=True)
conf.check_cfg(package='libavutil', args='--cflags --libs', uselib_store='AVUTIL', mandatory=True)
conf.check_cfg(package='libswscale', args='--cflags --libs', uselib_store='SWSCALE', mandatory=True)
- # Use a lack of libpostproc as a sign that we are on FFmpeg 8
- # We need this check while we're using ffmpeg 7 and arch already switched to 8
- if conf.check_cfg(package='libpostproc', args='--cflags --libs', uselib_store='POSTPROC', mandatory=False) is None:
- conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_FFMPEG_8')
conf.check_cfg(package='libswresample', args='--cflags --libs', uselib_store='SWRESAMPLE', mandatory=True)