projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mixer
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
indexfile.C
diff --git
a/cinelerra-5.1/cinelerra/indexfile.C
b/cinelerra-5.1/cinelerra/indexfile.C
index a5f12bcaaa1dda0272fbe9da5a485a172c82b4d3..61e81cb5e48070f76c3ec0a871d2ba6c883b2275 100644
(file)
--- a/
cinelerra-5.1/cinelerra/indexfile.C
+++ b/
cinelerra-5.1/cinelerra/indexfile.C
@@
-141,7
+141,6
@@
IndexFile::IndexFile(MWindow *mwindow,
this->mwindow = mwindow;
this->indexable = indexable;
redraw_timer = new Timer;
this->mwindow = mwindow;
this->indexable = indexable;
redraw_timer = new Timer;
-
if(indexable)
{
indexable->add_user();
if(indexable)
{
indexable->add_user();
@@
-433,6
+432,9
@@
SET_TRACE
// open the source file
if(open_source()) return 1;
// open the source file
if(open_source()) return 1;
+ source_channels = indexable->get_audio_channels();
+ source_samplerate = indexable->get_sample_rate();
+ source_length = indexable->get_audio_samples();
SET_TRACE
SET_TRACE