Skip to content

Commit

Permalink
f3kdb: raise an error if use_neo is True
Browse files Browse the repository at this point in the history
Waiting for new Windows dll until any changes
HomeOfAviSynthPlusEvolution/neo_f3kdb/#6
  • Loading branch information
Ichunjo committed Jun 24, 2021
1 parent 0e47d9e commit c23aff2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions debandshit/f3kdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ def __init__(self,
if sample_mode > 2 and not use_neo:
raise ValueError('deband: "sample_mode" argument should be less or equal to 2 when "use_neo" is false.')

self.sample_mode = sample_mode
self.use_neo = use_neo
if sample_mode <= 2 or not use_neo:
self.sample_mode = sample_mode
self.use_neo = use_neo
else:
raise ValueError('F3kdb: neo_f3kd is leaking memory, don\'t use it')

self._step = 16 if sample_mode == 2 else 32

Expand Down

0 comments on commit c23aff2

Please sign in to comment.