fix event-based recording audio codec "auto" option

merge-requests/289/head
Moe Alam 2021-01-27 08:21:44 -08:00
parent 91e5ce24fd
commit a92fdea98a
1 changed files with 1 additions and 1 deletions

View File

@ -716,7 +716,7 @@ module.exports = (s,config,lang) => {
}
if(audioCodec === 'no'){
outputFlags.push(`-an`)
}else if(audioCodec){
}else if(audioCodec && audioCodec !== 'auto'){
outputFlags.push(`-c:a ` + audioCodec)
}
if(outputFilters.length > 0){