fix ReferenceError: streamFlags is not defined

mitchross-coral-installer-update
Moe Alam 2020-11-29 18:09:28 -08:00
parent 8dacf45b48
commit dbc5526831
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ module.exports = (s,config,lang) => {
const videoFilters = []
const inputMap = buildInputMap(e,e.details.input_map_choices.stream)
const { videoWidth, videoHeight } = validateDimensions(e.details.snap_scale_x,e.details.snap_scale_y)
if(inputMap)streamFlags.push(inputMap)
if(inputMap)videoFlags.push(inputMap)
if(e.details.snap_vf)videoFilters.push(e.details.snap_vf)
if(isCudaEnabled){
videoFilters.push('hwdownload,format=nv12')