projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
audio chan pos rework, batchrender deadlock, titler/crikey grab_event tweak, thread...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
new.C
diff --git
a/cinelerra-5.1/cinelerra/new.C
b/cinelerra-5.1/cinelerra/new.C
index d157d58a4f34a7a4a9abaecf77d8c139e2a72dcd..58e6eca9d3a463d619a68f9294db76fe2e35525f 100644
(file)
--- a/
cinelerra-5.1/cinelerra/new.C
+++ b/
cinelerra-5.1/cinelerra/new.C
@@
-99,9
+99,8
@@
int New::create_new_project()
mwindow->reset_caches();
memcpy(new_edl->session->achannel_positions,
mwindow->reset_caches();
memcpy(new_edl->session->achannel_positions,
- &mwindow->preferences->channel_positions[
- MAXCHANNELS * (new_edl->session->audio_channels - 1)],
- sizeof(int) * MAXCHANNELS);
+ &mwindow->preferences->channel_positions[new_edl->session->audio_channels - 1],
+ sizeof(new_edl->session->achannel_positions));
new_edl->session->boundaries();
new_edl->create_default_tracks();
new_edl->session->boundaries();
new_edl->create_default_tracks();
@@
-601,7
+600,7
@@
int FrameRatePulldown::handle_event()
FrameSizePulldown::FrameSizePulldown(Theme *theme,
BC_TextBox *output_w, BC_TextBox *output_h, int x, int y)
FrameSizePulldown::FrameSizePulldown(Theme *theme,
BC_TextBox *output_w, BC_TextBox *output_h, int x, int y)
- : BC_ListBox(x, y, 1
5
0, 250, LISTBOX_TEXT,
+ : BC_ListBox(x, y, 1
8
0, 250, LISTBOX_TEXT,
&theme->frame_sizes, 0, 0, 1, 0, 1)
{
this->theme = theme;
&theme->frame_sizes, 0, 0, 1, 0, 1)
{
this->theme = theme;