Andrew contribution to add preference method for Fast/Slow speed
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / fileref.C
index 8d9b1ae9f22154bbf976d6eee1128853409bb723..094c44ec8c9cb21de5c1a38e0dfc95338bf00765 100644 (file)
@@ -22,6 +22,7 @@
 #include "asset.h"
 #include "arender.h"
 #include "cache.h"
+#include "edl.h"
 #include "filebase.h"
 #include "file.h"
 #include "fileref.h"
@@ -95,7 +96,7 @@ int FileREF::open_file(int rd, int wr)
                asset->sample_rate = ref->get_sample_rate();
                asset->audio_length = asset->audio_data ? ref->get_audio_samples() : 0;
                strcpy(asset->acodec, "REF");
-               command = new TransportCommand();
+               command = new TransportCommand(file->preferences);
                command->reset();
                command->get_edl()->copy_all(ref);
                command->command = NORMAL_FWD;