mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-08-10 13:10:03 +08:00
use collections.abc.Iterable
This commit is contained in:
parent
f3079726fa
commit
74862fb29f
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user