log.Error().Str("action","linking").Str("element1",element1.name).Str("element2",element2.name).Msg("element1 has output caps but you specified already caps so i'm only using them")
}else{
caps=strings.Join(element1.outputCaps,",")
}
}
iflen(element2.inputCaps)>0{
ifcaps!=""{
log.Error().Str("action","linking").Str("element1",element1.name).Str("element2",element2.name).Msg("element2 has input caps but you specified already caps so i'm only using them")