Skip to content

Commit

Permalink
Ooops, right, travis has a very old version of ffmpeg.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifAndersen committed Jun 8, 2017
1 parent b80cc86 commit e83956f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions video/private/init-mlt.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
(require ffi/unsafe
ffi/unsafe/define
"mlt.rkt"
"ffmpeg.rkt"
"threading.rkt")

(define counter-key "mlt-support-counter")
Expand Down Expand Up @@ -96,7 +95,10 @@
(sema-wait counter-mutex)
(when (= (ptr-ref counter counter-type) 0)
(void (mlt-factory-init #f))
(av-register-all))
;; XXX BAD!!! Don't do this!!! (Needs to be replaced!!!)
(with-handlers ([exn? (λ (e) (void))])
(define av-register-all (dynamic-require 'video/private/ffmpeg 'av-egister-all))
(av-register-all)))
(ptr-set! counter counter-type
(add1 (ptr-ref counter counter-type)))
;(set! tmp (ptr-ref counter counter-type))
Expand Down

0 comments on commit e83956f

Please sign in to comment.