mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-04-05 12:48:09 +08:00
Cleanup graph source file after rendering graph to pdf
This commit is contained in:
parent
19f316e9c5
commit
50c4a8985d
@ -76,7 +76,7 @@ def view(stream_spec, **kwargs):
|
||||
downstream_node_id = str(hash(edge.downstream_node))
|
||||
graph.edge(upstream_node_id, downstream_node_id, **kwargs)
|
||||
|
||||
graph.view(filename)
|
||||
graph.view(filename, cleanup=True)
|
||||
|
||||
return stream_spec
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user