projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
repair vaapi encode_frame, fix segv on unreadable asset, update crop resource icon...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
localsession.C
diff --git
a/cinelerra-5.1/cinelerra/localsession.C
b/cinelerra-5.1/cinelerra/localsession.C
index 6f430e2c561adee9f631b3df24c291636671ae85..50837a135044536a7949a27a6fa6693880cdba46 100644
(file)
--- a/
cinelerra-5.1/cinelerra/localsession.C
+++ b/
cinelerra-5.1/cinelerra/localsession.C
@@
-109,6
+109,7
@@
LocalSession::LocalSession(EDL *edl)
red = green = blue = 0;
red_max = green_max = blue_max = 0;
use_max = 0;
red = green = blue = 0;
red_max = green_max = blue_max = 0;
use_max = 0;
+ solo_track_id = -1;
}
LocalSession::~LocalSession()
}
LocalSession::~LocalSession()
@@
-148,6
+149,7
@@
void LocalSession::copy_from(LocalSession *that)
green_max = that->green_max;
blue_max = that->blue_max;
use_max = that->use_max;
green_max = that->green_max;
blue_max = that->blue_max;
use_max = that->use_max;
+ solo_track_id = that->solo_track_id;
for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) {
automation_mins[i] = that->automation_mins[i];
for (int i = 0; i < AUTOGROUPTYPE_COUNT; i++) {
automation_mins[i] = that->automation_mins[i];
@@
-238,6
+240,8
@@
void LocalSession::synchronize_params(LocalSession *that)
red_max = that->red_max;
green_max = that->green_max;
blue_max = that->blue_max;
red_max = that->red_max;
green_max = that->green_max;
blue_max = that->blue_max;
+ if( solo_track_id < 0 || that->solo_track_id < 0 )
+ solo_track_id = that->solo_track_id;
}
}