mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2025-04-06 04:15:44 +08:00
Merge pull request #58 from 153957/patch-1
Cleanup graph source file after rendering graph to pdf
This commit is contained in:
commit
6ebda44a63
@ -76,7 +76,7 @@ def view(stream_spec, **kwargs):
|
|||||||
downstream_node_id = str(hash(edge.downstream_node))
|
downstream_node_id = str(hash(edge.downstream_node))
|
||||||
graph.edge(upstream_node_id, downstream_node_id, **kwargs)
|
graph.edge(upstream_node_id, downstream_node_id, **kwargs)
|
||||||
|
|
||||||
graph.view(filename)
|
graph.view(filename, cleanup=True)
|
||||||
|
|
||||||
return stream_spec
|
return stream_spec
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user