Do not die if there is a missing audio or video stream in source. #34
This commit is contained in:
parent
f54d1eba38
commit
6624670813
@ -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 + "\""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user