File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ class FFAudio extends FFBase {
98
98
99
99
toDelayFilter ( ) {
100
100
const delay = DateUtil . toMilliseconds ( this . start ) ;
101
- this . delay = delay ;
102
101
return `adelay=${ delay } |${ delay } ` ;
103
102
}
104
103
@@ -109,9 +108,9 @@ class FFAudio extends FFBase {
109
108
}
110
109
111
110
toFadeInFilter ( ) {
112
- const { fadeIn = - 1 , delay } = this ;
111
+ const { fadeIn = - 1 , start = 0 } = this ;
113
112
if ( fadeIn === - 1 ) return '' ;
114
- return `,afade=t=in:st=${ delay } :d=${ fadeIn } ` ;
113
+ return `,afade=t=in:st=${ start } :d=${ fadeIn } ` ;
115
114
}
116
115
117
116
toFadeOutFilter ( duration ) {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ffcreator" ,
3
- "version" : " 5.2.6 " ,
3
+ "version" : " 5.2.7 " ,
4
4
"description" : " FFCreator is a lightweight and flexible short video production library" ,
5
5
"main" : " lib/index.js" ,
6
6
"types" : " types/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments