Skip to content

Commit

Permalink
2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Revan654 committed Jan 18, 2019
1 parent ab1eab3 commit ccea512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/ImageUtils.vb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Public Class Thumbnails

Dim avsdoc As New VideoScript
avsdoc.Path = Folder.Settings + "Thumbnails.avs"
If inputFile.EndsWith("mp4") Or inputFile.EndsWith("mkv") Then
If inputFile.EndsWith("mp4") Then
avsdoc.Filters.Add(New VideoFilter("LSMASHVideoSource(""" + inputFile + "" + """, format = ""YV12"").Spline64Resize(" & width & "," & height & ")"))
Else
avsdoc.Filters.Add(New VideoFilter("FFVideoSource(""" + inputFile + "" + """, colorspace = ""YV12"").Spline64Resize(" & width & "," & height & ")"))
Expand Down

0 comments on commit ccea512

Please sign in to comment.