Dogway / Avisynth-Scripts

AviSynth+ 3.7.3+ Filters
GNU General Public License v3.0
92 stars 13 forks source link

FillBorders #75

Closed Asd-g closed 1 year ago

Asd-g commented 1 year ago

Describe the bug Hi, I saw you have some FillBorders calls. If FillBorders 1.4.0 is used, there could be error.

To Reproduce

Colorbars(pixel_type="yv12")
PadBorders(4, 4, 4, 4, mode="fill")

For example, in PadBorders you probably want to use FillBorders(left=l,top=t,right=r,bottom=b,mode=6).

I didn't check the usage of FillBorders in Stabilization Tools Pack.avsi but if the values aren't used with named parameters, there will be error too.

Dogway commented 1 year ago

Thanks, didn't know they were mandatory now. Updated. "Stabilization Tools Pack" is legacy and unmaintained, it uses a function called FillBorder(s) (had to remove the 's') I made way back but I keep the script for reference now only now because this area hasn't been explored too much.