projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
render.C
diff --git
a/cinelerra-5.1/cinelerra/render.C
b/cinelerra-5.1/cinelerra/render.C
index 77e7ce790f39413d53b60e883feb68e79a999adf..a43449e4b94a43eb99e8541fa148ab1fb232dd42 100644
(file)
--- a/
cinelerra-5.1/cinelerra/render.C
+++ b/
cinelerra-5.1/cinelerra/render.C
@@
-1,6
+1,7
@@
/*
* CINELERRA
* Copyright (C) 1997-2011 Adam Williams <broadcast at earthling dot net>
/*
* CINELERRA
* Copyright (C) 1997-2011 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-684,7
+685,7
@@
void RenderThread::render_single(int test_overwrite, Asset *asset, EDL *edl,
render->result = 0;
// Create rendering command
render->result = 0;
// Create rendering command
- TransportCommand *command = new TransportCommand(
mwindow
->preferences);
+ TransportCommand *command = new TransportCommand(
render
->preferences);
command->command = NORMAL_FWD;
command->get_edl()->copy_all(edl);
command->change_type = CHANGE_ALL;
command->command = NORMAL_FWD;
command->get_edl()->copy_all(edl);
command->change_type = CHANGE_ALL;
@@
-726,6
+727,11
@@
void RenderThread::render_single(int test_overwrite, Asset *asset, EDL *edl,
if( !render->result ) {
// Get total range to render
render->total_start = command->start_position;
if( !render->result ) {
// Get total range to render
render->total_start = command->start_position;
+#if 0
+ render->default_asset->timecode = command->start_position;
+ printf("tc: %f \n", render->default_asset->timecode);
+ render->default_asset->timecode += edl->session->timecode_offset;
+#endif
render->total_end = command->end_position;
total_length = render->total_end - render->total_start;
render->total_end = command->end_position;
total_length = render->total_end - render->total_start;