1
0
mirror of https://github.com/kkroening/ffmpeg-python.git synced 2025-04-06 04:15:44 +08:00

Allow output to be created without mapped streams

This commit is contained in:
Davide Depau 2017-12-21 17:40:35 +01:00
parent db83137f53
commit b4503a183c
No known key found for this signature in database
GPG Key ID: C7D999B6A55EFE86

@ -61,9 +61,6 @@ def output(*streams_and_filename, **kwargs):
kwargs['filename'] = streams_and_filename.pop(-1)
streams = streams_and_filename
if len(streams) < 1:
raise ValueError("You must specify at least one stream to produce an output")
fmt = kwargs.pop('f', None)
if fmt:
if 'format' in kwargs: