projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bclistbox selection segv + other minor fixes
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
filescene.C
diff --git
a/cinelerra-5.1/cinelerra/filescene.C
b/cinelerra-5.1/cinelerra/filescene.C
index 548e6798154531638324c55b654b5bab0cd3e2c7..82d2292b2994a09c1578c329f38d58e0b34568db 100644
(file)
--- a/
cinelerra-5.1/cinelerra/filescene.C
+++ b/
cinelerra-5.1/cinelerra/filescene.C
@@
-198,7
+198,7
@@
FileScene::FileScene(Asset *asset, File *file)
: FileBase(asset, file)
{
reset_parameters();
: FileBase(asset, file)
{
reset_parameters();
-
get_exe_path(exe_path
);
+
strncpy(exec_path, File::get_cinlib_path(), sizeof(exec_path)
);
}
}
@@
-1300,10
+1300,8
@@
void SceneChunk::render()
FILE *script_fd = fopen(script_path, "w");
sprintf(command_line, "%s%s --libdir %s%s -b %s",
FILE *script_fd = fopen(script_path, "w");
sprintf(command_line, "%s%s --libdir %s%s -b %s",
- script->file->exe_path,
- FESTIVAL_PATH,
- script->file->exe_path,
- FESTIVAL_LIB_PATH,
+ script->file->exec_path, FESTIVAL_PATH,
+ script->file->exec_path, FESTIVAL_LIB_PATH,
script_path);
// Create script.
script_path);
// Create script.
@@
-1822,7
+1820,7
@@
void SceneTokens::convert_path(char *dst, char *src)
if(stat(dst, &ostat))
{
// Try cinelerra directory
if(stat(dst, &ostat))
{
// Try cinelerra directory
-
get_exe_path(dst
);
+
strcpy(dst, File::get_cindat_path()
);
strcat(dst, ASSET_PATH);
strcat(dst, src);
//printf("SceneTokens::convert_path %d %s\n", __LINE__, dst);
strcat(dst, ASSET_PATH);
strcat(dst, src);
//printf("SceneTokens::convert_path %d %s\n", __LINE__, dst);