Filmout needs to receive the whole state, not just the frame. Still broken.
This commit is contained in:
parent
32f70be614
commit
a2af605d37
app
processing/mcopy
src/filmout
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.6.7",
|
||||
"version": "1.6.8",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -370,12 +370,12 @@ class FilmOut {
|
|||
const state = JSON.parse(JSON.stringify(this.state));
|
||||
let path;
|
||||
state.frame = arg.frame;
|
||||
console.dir(state);
|
||||
try {
|
||||
path = await this.ffmpeg.frame(state, { color: [255, 255, 255] });
|
||||
}
|
||||
catch (err) {
|
||||
this.log.error(err, 'FILMOUT', true, true);
|
||||
;
|
||||
throw err;
|
||||
}
|
||||
this.ui.send('preview_frame', { path, frame: arg.frame });
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -310,7 +310,7 @@ class FilmOut {
|
|||
const frameStr = $('#filmout_position').val();
|
||||
const frame = parseInt(frameStr, 10);
|
||||
this.state.frame = frame;
|
||||
ipcRenderer.send('preview_frame', { frame });
|
||||
ipcRenderer.send('preview_frame', { state: this.state });
|
||||
}
|
||||
onFrame(evt, args) {
|
||||
const elem = $('#filmout');
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -317,7 +317,7 @@ class FilmOut {
|
|||
const frameStr : string = $('#filmout_position').val() as string;
|
||||
const frame : number = parseInt(frameStr, 10);
|
||||
this.state.frame = frame;
|
||||
ipcRenderer.send('preview_frame', { frame });
|
||||
ipcRenderer.send('preview_frame', { state : this.state });
|
||||
}
|
||||
onFrame (evt : any, args : any) {
|
||||
const elem : any = $('#filmout');
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.6.7",
|
||||
"version": "1.6.8",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -385,11 +385,12 @@ class FilmOut {
|
|||
let path : string;
|
||||
|
||||
state.frame = arg.frame;
|
||||
console.dir(state);
|
||||
|
||||
try {
|
||||
path = await this.ffmpeg.frame(state, { color : [255, 255, 255] });
|
||||
} catch (err) {
|
||||
this.log.error(err, 'FILMOUT', true, true);;
|
||||
this.log.error(err, 'FILMOUT', true, true);
|
||||
throw err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue