16 lines
203 B
Go
16 lines
203 B
Go
|
package transcoder
|
||
|
|
||
|
type Chunk struct {
|
||
|
id int
|
||
|
done bool
|
||
|
notifs []chan bool
|
||
|
}
|
||
|
|
||
|
func NewChunk(id int) *Chunk {
|
||
|
return &Chunk{
|
||
|
id: id,
|
||
|
done: false,
|
||
|
notifs: make([]chan bool, 0),
|
||
|
}
|
||
|
}
|