summaryrefslogtreecommitdiff
path: root/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch')
-rw-r--r--dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch
new file mode 100644
index 000000000000..6231ba17b86e
--- /dev/null
+++ b/dev-python/ffmpeg-python/files/ffmpeg-python-0.2.0-_run.py-collections.patch
@@ -0,0 +1,12 @@
+index afc504d..bf43c06 100644
+--- a/ffmpeg/_run.py
++++ b/ffmpeg/_run.py
+@@ -137,7 +137,7 @@ def _get_output_args(node, stream_name_map):
+ if 'video_size' in kwargs:
+ video_size = kwargs.pop('video_size')
+ if not isinstance(video_size, basestring) and isinstance(
+- video_size, collections.Iterable
++ video_size, collections.abc.Iterable
+ ):
+ video_size = '{}x{}'.format(video_size[0], video_size[1])
+ args += ['-video_size', video_size]