Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNil defines an error sent when an unexpected value is nil ErrNil = errors.New("value is nil") )
Functions ¶
Types ¶
type SrtEncoder ¶
type SrtEncoder struct{}
SrtEncoder builds an srt file from provided clip captions
func (*SrtEncoder) Encode ¶
func (s *SrtEncoder) Encode(captions []decryptor.Caption) io.Reader
Encode converts clip captions into an srt file
func (*SrtEncoder) Extension ¶
func (s *SrtEncoder) Extension() decryptor.Extension
Extension returns the srt's file extension
Click to show internal directories.
Click to hide internal directories.