File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 55using System . Collections . Generic ;
66using System . IO ;
77using System . Linq ;
8- using System . Text ;
98using System . Threading . Tasks ;
109using System . Windows . Forms ;
1110using DT = System . DateTime ;
Original file line number Diff line number Diff line change @@ -231,12 +231,12 @@ public static async Task<string> GetVideoFilterArgs(CodecArgs codecArgs = null)
231231 string scaleW = form . av1anScaleBoxW . Text . Trim ( ) . ToLower ( ) ;
232232 string scaleH = form . av1anScaleBoxH . Text . Trim ( ) . ToLower ( ) ;
233233
234- if ( ! string . IsNullOrWhiteSpace ( scaleW ) || ! string . IsNullOrWhiteSpace ( scaleH ) ) // Check Filter: Scale
235- filters . Add ( MiscUtils . GetScaleFilter ( scaleW , scaleH ) ) ;
236-
237234 if ( form . av1anCropBox . SelectedIndex > 0 ) // Check Filter: Crop/Cropdetect
238235 filters . Add ( await FfmpegUtils . GetCurrentAutoCrop ( TrackList . current . File . ImportPath , false ) ) ;
239236
237+ if ( ! string . IsNullOrWhiteSpace ( scaleW ) || ! string . IsNullOrWhiteSpace ( scaleH ) ) // Check Filter: Scale
238+ filters . Add ( MiscUtils . GetScaleFilter ( scaleW , scaleH ) ) ;
239+
240240 filters = filters . Where ( x => x . Trim ( ) . Length > 2 ) . ToList ( ) ; // Strip empty filters
241241
242242 if ( filters . Count > 0 )
You can’t perform that action at this time.
0 commit comments