repair default keyframe load, tweak init default histogram threshold
[goodguy/history.git] / cinelerra-5.1 / cinelerra / lv2ui.C
index 23b26a3e03db20e06022e9fe85358d40ed10cb98..a025ef1c5d79e727e9738ce6f7f5391c40d6922d 100644 (file)
@@ -34,7 +34,7 @@ int PluginLV2ChildUI::run(int ac, char **av)
                ForkBase::ppid = atoi(av[3]);
        }
        else {
-               int sample_rate = 48000, bfrsz = 4096;
+               int sample_rate = samplerate, bfrsz = block_length;
                if( ac > 2 ) sample_rate = atoi(av[2]);
                if( init_ui(av[1], sample_rate, bfrsz) ) {
                        fprintf(stderr," init_ui failed\n");