Skip to content

Commit 7b66296

Browse files
authored
Merge pull request #21
Merge branch AmusementClub/mod
2 parents 86e8467 + 013199a commit 7b66296

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

getnative/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def __repr__(self):
9191
_DefineScaler("bicubic", b=1 / 3, c=1 / 3),
9292
_DefineScaler("bicubic", b=.5, c=0),
9393
_DefineScaler("bicubic", b=0, c=.5),
94+
_DefineScaler("bicubic", b=0, c=.75),
9495
_DefineScaler("bicubic", b=1, c=0),
9596
_DefineScaler("bicubic", b=0, c=1),
9697
_DefineScaler("bicubic", b=.2, c=.5),

getnative/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ def get_source_filter(core, imwri, args):
4141
if ext in {".py", ".pyw", ".vpy"}:
4242
print("Using custom VapourSynth script as a source. This may cause garbage results. Only do this if you know what you are doing.")
4343
return vpy_source_filter
44-
source_filter = get_attr(core, 'ffms2.Source')
45-
if source_filter:
46-
print("Using ffms2 as source filter")
47-
return lambda input_file: source_filter(input_file, alpha=False)
4844
source_filter = get_attr(core, 'lsmas.LWLibavSource')
4945
if source_filter:
5046
print("Using lsmas.LWLibavSource as source filter")
5147
return source_filter
48+
source_filter = get_attr(core, 'ffms2.Source')
49+
if source_filter:
50+
print("Using ffms2 as source filter")
51+
return lambda input_file: source_filter(input_file, alpha=False)
5252
source_filter = get_attr(core, 'lsmas.LSMASHVideoSource')
5353
if source_filter:
5454
print("Using lsmas.LSMASHVideoSource as source filter")

0 commit comments

Comments
 (0)