From c05302de82b82a06d4d785ce2ec8e7e9fea2ca8a Mon Sep 17 00:00:00 2001 From: Veronica Yurovsky Date: Mon, 26 Mar 2018 17:55:47 -0400 Subject: [PATCH] bitmovin: encodes only existing audio for vp8 --- provider/bitmovin/bitmovin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/provider/bitmovin/bitmovin.go b/provider/bitmovin/bitmovin.go index e1de4c92..b623a8dc 100644 --- a/provider/bitmovin/bitmovin.go +++ b/provider/bitmovin/bitmovin.go @@ -814,6 +814,7 @@ func (p *bitmovinProvider) Transcode(job *db.Job) (*provider.JobStatus, error) { audioStream := &models.Stream{ CodecConfigurationID: &audioPresetID, InputStreams: aiss, + Conditions: models.NewAttributeCondition(bitmovintypes.ConditionAttributeInputStream, "==", "true"), } audioStreamResp, audioErr := encodingS.AddStream(*encodingResp.Data.Result.ID, audioStream) if audioErr != nil {