Skip to content

Commit b2feb44

Browse files
committed
Remove unused/old function.
1 parent 5f05d1f commit b2feb44

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

video/private/ffmpeg-pipeline.rkt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -71,25 +71,6 @@
7171
#:options-dict [o #f]
7272
#:file [f #f])
7373
(stream-bundle rs s st ctx o f))
74-
(define (fill-stream-bundle bundle [use-type 'encode])
75-
(define table (make-hash))
76-
(for ([s (in-list (stream-bundle-streams bundle))]
77-
[index (in-naturals)])
78-
(match s
79-
[(struct* codec-obj ([id id]
80-
[type type]))
81-
(define codec ((match use-type
82-
['encode avcodec-find-encoder]
83-
['decode avcodec-find-decoder])
84-
id))
85-
(set-codec-obj-codec! s codec)
86-
(set-codec-obj-index! s index)
87-
(set-codec-obj-codec-context! s (avcodec-alloc-context3 codec))
88-
(dict-update! table type
89-
(λ (rst) (append rst (list s)))
90-
(λ () '()))]))
91-
(set-stream-bundle-stream-table! bundle table)
92-
bundle)
9374

9475
(struct codec-obj (codec-parameters
9576
type

0 commit comments

Comments
 (0)