Andrew contribution to add preference method for Fast/Slow speed
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / fileref.C
index a60b3f3e4e5b678a75a69b0543a91af868c7cee8..094c44ec8c9cb21de5c1a38e0dfc95338bf00765 100644 (file)
@@ -96,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;