diff --git a/clients/fixtures/mediaconvert_payloads/accelerated.txt b/clients/fixtures/mediaconvert_payloads/accelerated.txt index 0f43ca32..bc4035cb 100644 --- a/clients/fixtures/mediaconvert_payloads/accelerated.txt +++ b/clients/fixtures/mediaconvert_payloads/accelerated.txt @@ -7,7 +7,10 @@ Inputs: [{ AudioSelectors: { Audio Selector 1: { - DefaultSelection: "DEFAULT" + DefaultSelection: "DEFAULT", + Offset: 0, + ProgramSelection: 1, + SelectorType: "TRACK" } }, FileInput: "input", diff --git a/clients/fixtures/mediaconvert_payloads/happy.txt b/clients/fixtures/mediaconvert_payloads/happy.txt index 21e138d5..b184b16b 100644 --- a/clients/fixtures/mediaconvert_payloads/happy.txt +++ b/clients/fixtures/mediaconvert_payloads/happy.txt @@ -4,7 +4,10 @@ Inputs: [{ AudioSelectors: { Audio Selector 1: { - DefaultSelection: "DEFAULT" + DefaultSelection: "DEFAULT", + Offset: 0, + ProgramSelection: 1, + SelectorType: "TRACK" } }, FileInput: "input", diff --git a/clients/fixtures/mediaconvert_payloads/no-mp4.txt b/clients/fixtures/mediaconvert_payloads/no-mp4.txt index 7a32a6a3..6dc15113 100644 --- a/clients/fixtures/mediaconvert_payloads/no-mp4.txt +++ b/clients/fixtures/mediaconvert_payloads/no-mp4.txt @@ -4,7 +4,10 @@ Inputs: [{ AudioSelectors: { Audio Selector 1: { - DefaultSelection: "DEFAULT" + DefaultSelection: "DEFAULT", + Offset: 0, + ProgramSelection: 1, + SelectorType: "TRACK" } }, FileInput: "input", diff --git a/clients/mediaconvert.go b/clients/mediaconvert.go index 7552f616..d9cf7034 100644 --- a/clients/mediaconvert.go +++ b/clients/mediaconvert.go @@ -322,7 +322,10 @@ func createJobPayload(inputFile, hlsOutputFile, mp4OutputFile, role string, acce { AudioSelectors: map[string]*mediaconvert.AudioSelector{ "Audio Selector 1": { + Offset: aws.Int64(0), DefaultSelection: aws.String("DEFAULT"), + SelectorType: aws.String("TRACK"), + ProgramSelection: aws.Int64(1), }, }, FileInput: aws.String(inputFile),