projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add refresh_only to scopewindow, fix alsa prefs for capture source, add python to...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
edit.C
diff --git
a/cinelerra-5.1/cinelerra/edit.C
b/cinelerra-5.1/cinelerra/edit.C
index 72f179907fe8758143b7337b7491e06dd283f7f9..56329af3caecc76d71c32c7092bad0429ee6e57c 100644
(file)
--- a/
cinelerra-5.1/cinelerra/edit.C
+++ b/
cinelerra-5.1/cinelerra/edit.C
@@
-85,7
+85,6
@@
void Edit::reset()
channel = 0;
user_title[0] = 0;
nested_edl = 0;
channel = 0;
user_title[0] = 0;
nested_edl = 0;
- is_plugin = 0;
is_selected = 0;
hard_left = 0;
hard_right = 0;
is_selected = 0;
hard_left = 0;
hard_right = 0;
@@
-326,6
+325,13
@@
void Edit::equivalent_output(Edit *edit, int64_t *result)
}
}
+Edit& Edit::operator=(Edit& edit)
+{
+//printf("Edit::operator= called\n");
+ copy_from(&edit);
+ return *this;
+}
+
void Edit::synchronize_params(Edit *edit)
{
copy_from(edit);
void Edit::synchronize_params(Edit *edit)
{
copy_from(edit);
@@
-345,6
+351,11
@@
int Edit::identical(Edit &edit)
return result;
}
return result;
}
+int Edit::operator==(Edit &edit)
+{
+ return identical(edit);
+}
+
double Edit::frames_per_picon()
{
return Units::round(picon_w()) / frame_w();
double Edit::frames_per_picon()
{
return Units::round(picon_w()) / frame_w();