mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-04-05 04:22:51 +08:00
Merge c1ef452841a30593e1edcb9994bdca02a877aeea into df129c7ba30aaa9ffffb81a48f53aa7253b0b4e6
This commit is contained in:
commit
80e0ea06ab
@ -43,7 +43,7 @@ def view(stream_spec, detail=False, filename=None, pipe=False, **kwargs):
|
||||
if pipe and filename is not None:
|
||||
raise ValueError('Can\'t specify both `filename` and `pipe`')
|
||||
elif not pipe and filename is None:
|
||||
filename = tempfile.mktemp()
|
||||
filename = tempfile.mkstemp()[1]
|
||||
|
||||
nodes = get_stream_spec_nodes(stream_spec)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user