Skip to content

Commit 2b55315

Browse files
committed
Fix fade code, update avisynth header, r2
1 parent e3b6fbc commit 2b55315

3 files changed

Lines changed: 197 additions & 95 deletions

File tree

DelogoHD/delogohd_filter.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ class DelogoHDFilter: public Interface {
6767
return 0;
6868
}
6969
if (n < start + fadein) // Fade in
70-
return (n - start + 1.0) / fadein;
70+
return (n - start + 0.5) / fadein;
7171
if (n > end - fadeout && end >= 0) // Fade out
72-
return (end - n + 1.0) / fadeout;
72+
return (end - n + 0.5) / fadeout;
7373

7474
return 1;
7575
}

DelogoHD/version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#pragma once
22

3-
#define PLUGIN_VERSION "r1"
3+
#define PLUGIN_VERSION "r2"

0 commit comments

Comments
 (0)