0

Do not die if there is a missing audio or video stream in source. #34

This commit is contained in:
Gabe Kangas 2020-07-08 18:43:57 -07:00
parent f54d1eba38
commit 6624670813

View File

@ -221,7 +221,7 @@ func (t *Transcoder) getVariantsString() string {
for _, variant := range t.variants {
variantsCommandFlags = variantsCommandFlags + " " + variant.getVariantString()
variantsStreamMaps = variantsStreamMaps + fmt.Sprintf("v:%d,a:%d ", variant.index, variant.index)
variantsStreamMaps = variantsStreamMaps + fmt.Sprintf("v:%d?,a:%d? ", variant.index, variant.index)
}
variantsCommandFlags = variantsCommandFlags + " " + variantsStreamMaps + "\""