19555472029f57ce2c9caabe757425d8201c0324,ffmpeg/_view.py,,view,#,17
Before Change
name = node.name
if "_kwargs" in dir(node) and "filename" in node._kwargs:
name = os.path.basename(node._kwargs["filename"])
if isinstance(node, InputNode):
color = "/cc00"
elif isinstance(node, OutputNode):
color = "/ccff"
elif isinstance(node, FilterNode):
color = "//ffcc00"
else:
color = None
graph.node(str(hash(node)), name, shape="box", style="filled", fillcolor=color)
outgoing_edge_map = outgoing_edge_maps.get(node, {})
for edge in get_outgoing_edges(node, outgoing_edge_map):
kwargs = {}
After Change
if filename is None:
filename = tempfile.mktemp()
nodes = []
for stream in streams:
if not isinstance(stream, Stream):
raise TypeError("Expected Stream; got {}".format(type(stream)))
nodes.append(stream.node)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: kkroening/ffmpeg-python
Commit Name: 19555472029f57ce2c9caabe757425d8201c0324
Time: 2017-07-06
Author: karlk@kralnet.us
File Name: ffmpeg/_view.py
Class Name:
Method Name: view
Project Name: jazzband/django-debug-toolbar
Commit Name: ad110e020cbae062ba024d91223df519af3adc96
Time: 2011-07-12
Author: dcramer@gmail.com
File Name: debug_toolbar/panels/template.py
Class Name: TemplateDebugPanel
Method Name: content
Project Name: enthought/chaco
Commit Name: 6b07ae6f8e587fd27f9b30ec4922e255b428a794
Time: 2008-08-27
Author: kammeyer@651a555e-23ca-0310-84fe-ca9f7c59d2ea
File Name: enthought/chaco/tools/traits_tool.py
Class Name: TraitsTool
Method Name: normal_left_dclick