Try to peg Windows XP ffmpeg build to one derived from 3.4.2.
authorCarl Hetherington <cth@carlh.net>
Sun, 19 Aug 2018 18:49:37 +0000 (19:49 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 19 Aug 2018 18:49:37 +0000 (19:49 +0100)
cscript

diff --git a/cscript b/cscript
index 436bd75dbca19a6fcf152cf6dab60253ee4350c2..0ea616b23d8c8a9f11191c5c4b2df362e0b2b5fa 100644 (file)
--- a/cscript
+++ b/cscript
@@ -323,10 +323,16 @@ def dependencies(target):
     else:
         ffmpeg_options = {}
 
-    return (('ffmpeg-cdist', '27f25fb', ffmpeg_options),
-            ('libdcp', '348aaa6'),
-            ('libsub', '75d9785'),
-            ('rtaudio-cdist', '739969e'))
+    if target.platform == 'windows' and target.version == 'xp':
+        deps = [('ffmpeg-cdist', '65c6d9e', ffmpeg_options)]
+    else:
+        deps = [('ffmpeg-cdist', '27f25fb', ffmpeg_options)]
+
+    deps.append(('libdcp', '348aaa6'))
+    deps.append(('libsub', '75d9785'))
+    deps.append(('rtaudio-cdist', '739969e'))
+
+    return deps
 
 def option_defaults():
     return { "gui": True }