Pipe Protocol Unit tests + README Cleanup

This commit is contained in:
muhammadharis
2019-11-03 19:36:23 -05:00
parent 7784ff4443
commit 2d4028807f
3 changed files with 70 additions and 18 deletions

View File

@@ -79,8 +79,8 @@ func (t Transcoder) GetCommand() []string {
return rcommand
}
// InitializeTranscoder initializes the fields necessary for a blank transcoder
func (t *Transcoder) InitializeTranscoder() error {
// InitializeEmptyTranscoder initializes the fields necessary for a blank transcoder
func (t *Transcoder) InitializeEmptyTranscoder() error {
var Metadata models.Metadata
var err error
@@ -218,7 +218,7 @@ func (t *Transcoder) Run(progress bool) <-chan error {
return
}
// Run the pipe-in command if it's been set
// Run the pipe-in command if it has been set
if t.mediafile.InputPipeCommand() != nil {
err = t.mediafile.InputPipeCommand().Run()
if err != nil {