fix ReferenceError: streamFlags is not defined
parent
8dacf45b48
commit
dbc5526831
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue