Skip to content

Commit

Permalink
ffmpeg: add 'import C' where it's used
Browse files Browse the repository at this point in the history
  • Loading branch information
iameli authored and eliteprox committed Nov 2, 2023
1 parent 64c3831 commit 4c9cba7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ffmpeg/videoprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/livepeer/m3u8"
)

import "C"

var ErrProfName = fmt.Errorf("unknown VideoProfile profile name")
var ErrCodecName = fmt.Errorf("unknown codec name")

Expand Down
2 changes: 2 additions & 0 deletions segmenter/video_segmenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import (
"github.com/livepeer/m3u8"
)

import "C"

var ErrSegmenterTimeout = errors.New("SegmenterTimeout")
var ErrSegmenter = errors.New("SegmenterError")
var PlaylistRetryCount = 5
Expand Down

0 comments on commit 4c9cba7

Please sign in to comment.