File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ const createFFTask = () => {
89
89
90
90
const fvtuber2 = new FFVtuber ( {
91
91
path : human ,
92
- x : 500 ,
92
+ x : 450 ,
93
93
y : height ,
94
94
mode : 'frame' ,
95
95
width : 480 ,
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ class FFVideo extends FFImage {
46
46
this . endTime = DEFAULT_TIME ; //"00:00:15"
47
47
this . codec = null ;
48
48
this . preload = false ;
49
+ this . useCache = false ;
49
50
this . clarity = conf . qscale || conf . clarity || 2 ;
50
51
this . audio = conf . audio === undefined ? true : conf . audio ;
51
52
this . loop = conf . loop === undefined ? false : conf . loop ;
@@ -214,7 +215,7 @@ class FFVideo extends FFImage {
214
215
*/
215
216
drawing ( ) {
216
217
const texture = this . materials . getFrame ( this . frameIndex ) ;
217
- this . display . updateBaseTexture ( texture ) ;
218
+ this . display . updateBaseTexture ( texture , this . useCache ) ;
218
219
this . nextFrame ( ) ;
219
220
}
220
221
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ffcreator" ,
3
- "version" : " 5.5.6 " ,
3
+ "version" : " 5.5.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