Skip to content

Commit

Permalink
Examples can compile now.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifAndersen committed Jul 11, 2017
1 parent 9928171 commit b465e90
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions video/examples/10-properties.rkt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#lang video

(clip "vid.mp4"
#:start 50
#:end (if (equal? (get-property v-clip "vid-key") "block")
200
51))
#:properties (hash "start" 50
"end" (if (equal? (get-property v-clip "vid-key") "block")
200
51)))

(define v-clip
(clip "vid.mp4"
Expand Down
6 changes: 3 additions & 3 deletions video/examples/2-colorfade.rkt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#lang video

(color "green" #:length 75)
(fade-transition #:length 25)
(color "blue" #:length 75)
(color "green" #:properties (hash "length" 75))
(fade-transition 25)
(color "blue" #:properties (hash "length" 75))
10 changes: 5 additions & 5 deletions video/examples/5-project.rkt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#lang video

(color "red" #:length 75)
(fade-transition #:length 25)
(clip "vid.mp4" #:start 50 #:end 100)
(fade-transition #:length 25)
(color "blue" #:length 75)
(color "red" #:properties (hash "length" 75))
(fade-transition 25)
(clip "vid.mp4" #:properties (hash "start" 50 "end" 100))
(fade-transition 25)
(color "blue" #:properties (hash "length" 75))
2 changes: 1 addition & 1 deletion video/examples/6-multitrack.rkt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#lang video

(multitrack
(clip "vid.mp4" #:start 50 #:end 200)
(clip "vid.mp4" #:properties (hash "start" 50 "end" 200))
(playlist
(blank 40)
(color "red")))
2 changes: 1 addition & 1 deletion video/examples/8-image.rkt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#lang video

(image "circ.png" #:length 200)
(image "circ.png" #:properties (hash "length" 200))
4 changes: 2 additions & 2 deletions video/examples/9-doubletransition.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
#:bottom blocks)))


(define blocks (clip "vid.mp4" #:start 50 #:end 200))
(define circ (image "circ.png" #:length 200))
(define blocks (clip "vid.mp4" #:properties (hash "start" 50 "end" 200)))
(define circ (image "circ.png" #:properties (hash "length" 200)))
(define red (color "red"))

0 comments on commit b465e90

Please sign in to comment.