projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update openjpeg + x265, unproxy clip fix, config mods for lv2/opus/x265-10bit
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
clipedls.C
diff --git
a/cinelerra-5.1/cinelerra/clipedls.C
b/cinelerra-5.1/cinelerra/clipedls.C
index 65dd58e2c23fc3b36d038189d3bfff46dd5ada7b..6f384fe8877196077e9833ca74a48e8bb0f0f90a 100644
(file)
--- a/
cinelerra-5.1/cinelerra/clipedls.C
+++ b/
cinelerra-5.1/cinelerra/clipedls.C
@@
-35,9
+35,13
@@
void ClipEDLs::remove_clip(EDL *clip)
}
}
-EDL* ClipEDLs::get_
copy
(EDL *src)
+EDL* ClipEDLs::get_
nested
(EDL *src)
{
if( !src ) return 0;
{
if( !src ) return 0;
+ for( int i=0; i<size(); ++i ) {
+ EDL *dst = get(i);
+ if( src == dst || src->id == dst->id ) return dst;
+ }
for( int i=0; i<size(); ++i ) {
EDL *dst = get(i);
if( !strcmp(dst->path, src->path) ) return dst;
for( int i=0; i<size(); ++i ) {
EDL *dst = get(i);
if( !strcmp(dst->path, src->path) ) return dst;