From af74503b9980b1e6db1f97bb705065db10c74215 Mon Sep 17 00:00:00 2001 From: prpr Date: Sat, 14 Nov 2020 01:25:46 +0000 Subject: [PATCH] Fix the ****ing formatting in this stupid editor --- webif/lib/ts.class | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/webif/lib/ts.class b/webif/lib/ts.class index de18178..b998d93 100644 --- a/webif/lib/ts.class +++ b/webif/lib/ts.class @@ -354,14 +354,14 @@ ts method mkbmps {{offset 0}} { ts method mkbmp {{offset 0} {ext ""}} { set bfile [file rootname $file] - set bmpfile "$bfile$ext.bmp" - set cmd [list /mod/bin/ffmpeg -loglevel fatal -ss $offset -i $file \ - -frames 1 -pix_fmt argb -vf vflip -s 140x78 -y $bmpfile] - catch { exec {*}$cmd } - if {![catch { file stat $bmpfile stbmp }]} { - if {[dict get $stbmp size] != 0} { return 1 } - } - return 0 + set bmpfile "$bfile$ext.bmp" + set cmd [list /mod/bin/ffmpeg -loglevel fatal -ss $offset -i $file \ + -frames 1 -pix_fmt argb -vf vflip -s 140x78 -y $bmpfile] + catch { exec {*}$cmd } + if {![catch { file stat $bmpfile stbmp }]} { + if {[dict get $stbmp size] != 0} { return 1 } + } + return 0 } ts method mkthm {{offset 0}} {