Skip to content

Commit b951778

Browse files
authored
Merge pull request #5 from sbruder/master
Do not read alpha channel with ffms2
2 parents 3e0092d + ccaffd3 commit b951778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

getnative.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def _get_source_filter(args):
351351
source_filter = _get_attr(core, 'ffms2.Source')
352352
if source_filter:
353353
print("Using ffms2 as source filter")
354-
return source_filter
354+
return lambda input_file: source_filter(input_file, alpha=False)
355355
source_filter = _get_attr(core, 'lsmas.LWLibavSource')
356356
if source_filter:
357357
print("Using lsmas.LWLibavSource as source filter")

0 commit comments

Comments
 (0)