From 1070b3e51bc3d5d3b00ca817f10b048348a5ac79 Mon Sep 17 00:00:00 2001 From: Davide Depau Date: Tue, 9 Jan 2018 11:06:26 +0100 Subject: [PATCH] Remove commented code --- ffmpeg/_ffmpeg.py | 7 +------ ffmpeg/dag.py | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ffmpeg/_ffmpeg.py b/ffmpeg/_ffmpeg.py index 826497d..1abf2ca 100644 --- a/ffmpeg/_ffmpeg.py +++ b/ffmpeg/_ffmpeg.py @@ -13,6 +13,7 @@ from .nodes import ( _py_map = map + def input(filename, **kwargs): """Input file URL (ffmpeg ``-i`` option) @@ -86,12 +87,6 @@ def map(*streams): return head -# stream_map = get_stream_map(stream_spec) -# self.__check_input_len(stream_map, min_inputs, max_inputs) -# self.__check_input_types(stream_map, incoming_stream_types) -# incoming_edge_map = self.__get_incoming_edge_map(stream_map) -# super(Node, self).__init__(incoming_edge_map, name, args, kwargs) -# self.__outgoing_stream_type = outgoing_stream_type __all__ = [ 'input', diff --git a/ffmpeg/dag.py b/ffmpeg/dag.py index 413d324..0138197 100644 --- a/ffmpeg/dag.py +++ b/ffmpeg/dag.py @@ -75,7 +75,6 @@ DagEdge = namedtuple('DagEdge', ['downstream_node', 'downstream_label', 'upstrea def get_incoming_edges(downstream_node, incoming_edge_map): edges = [] - # downstream_label, (upstream_node, upstream_label) in [(i[0], i[1][:2]) for i in self.incoming_edge_map.items()] for downstream_label, upstream_info in [(i[0], i[1]) for i in incoming_edge_map.items()]: upstream_node, upstream_label = upstream_info[:2] upstream_selector = None if len(upstream_info) < 3 else upstream_info[2]