projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update opencv_build so it works with ffmpeg 5
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
batchrender.C
diff --git
a/cinelerra-5.1/cinelerra/batchrender.C
b/cinelerra-5.1/cinelerra/batchrender.C
index ace9e562ff735510f53027275484b639b9c72f48..20d817b5df222837f07ff18320cf28aa483b5449 100644
(file)
--- a/
cinelerra-5.1/cinelerra/batchrender.C
+++ b/
cinelerra-5.1/cinelerra/batchrender.C
@@
-542,7
+542,7
@@
void BatchRenderThread::calculate_dest_paths(ArrayList<char*> *paths,
PackageDispatcher *packages = new PackageDispatcher;
// Load EDL
PackageDispatcher *packages = new PackageDispatcher;
// Load EDL
- TransportCommand *command = new TransportCommand;
+ TransportCommand *command = new TransportCommand
(preferences)
;
FileXML *file = new FileXML;
file->read_from_file(job->edl_path);
FileXML *file = new FileXML;
file->read_from_file(job->edl_path);
@@
-597,8
+597,10
@@
void BatchRenderThread::start_rendering(char *config_path,
else {
BC_Trace::disable_locks();
}
else {
BC_Trace::disable_locks();
}
-
+// In batch mode there is no mwindow, so init_plugins is called with
+// mwindow* = NULL.
MWindow::init_plugins(0, preferences);
MWindow::init_plugins(0, preferences);
+ MWindow::init_ladspa_plugins(0, preferences);
char font_path[BCTEXTLEN];
strcpy(font_path, preferences->plugin_dir);
strcat(font_path, "/" FONT_SEARCHPATH);
char font_path[BCTEXTLEN];
strcpy(font_path, preferences->plugin_dir);
strcat(font_path, "/" FONT_SEARCHPATH);