Skip to content

Commit

Permalink
Another attempt at making the right trim node.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifAndersen committed Jul 25, 2017
1 parent 19297f5 commit ceacdfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions video/base.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@
(cond [needs-clipping?
(define node (mk-trim-node #:start 0
#:end length
#:props (node-props t1)
#:counts (node-counts t1)))
(add-vertex! ctx node)
(add-directed-edge! ctx zero-node1 node 1)
Expand All @@ -388,6 +389,7 @@
(cond [needs-clipping?
(define node (mk-trim-node #:start 0
#:end length
#:props (node-props t2)
#:counts (node-counts t2)))
(add-vertex! ctx node)
(add-directed-edge! ctx zero-node2 node 2)
Expand All @@ -399,6 +401,7 @@
(define node
(mk-filter-node (hash 'video (mk-filter "scale" (hash "w" w
"h" h)))
#:props (node-props t1)
#:counts (node-counts t1)))
(add-vertex! ctx node)
(add-directed-edge! ctx trim-node2 node 1)
Expand Down

0 comments on commit ceacdfe

Please sign in to comment.