Fix Blank value insert for Monitor Settings+

merge-requests/60/head
Moe 2019-04-02 22:37:37 -07:00
parent 3beab3313c
commit 0c3a3ada1e
1 changed files with 1 additions and 1 deletions

View File

@ -659,7 +659,7 @@ module.exports = function(s,config,lang,onFinish){
x.record_video_filters = []
x.record_string = ''
//record - resolution
if(e.width!==''&&e.height!==''&&!isNaN(e.width)&&!isNaN(e.height)){
if(e.width!==''&&e.height!==''&&e.width!=='0'&&e.height!=='0'&&!isNaN(e.width)&&!isNaN(e.height)){
x.record_dimensions=' -s '+e.width+'x'+e.height
}else{
x.record_dimensions=''