prevent popup deactivation while button_down
[goodguy/history.git] / cinelerra-5.0 / cinelerra / pluginvclient.C
index 2c063d61123e30c8cb9ab93addeea8b64032fef9..51a8f08f183b16858a761b92cab9443d20472331 100644 (file)
@@ -19,6 +19,7 @@
  * 
  */
 
+#include "bcsignals.h"
 #include "edl.h"
 #include "edlsession.h"
 #include "pluginserver.h"
@@ -164,8 +165,9 @@ int PluginVClient::process_buffer(VFrame **frame,
        int64_t start_position,
        double frame_rate)
 {
+//PRINT_TRACE
        for(int i = 0; i < PluginClient::total_in_buffers; i++)
-               read_frame(frame[i], i, start_position, frame_rate);
+               read_frame(frame[i], i, start_position, frame_rate, 0);
        if(is_multichannel())
                process_realtime(frame, frame);
        return 0;
@@ -175,27 +177,12 @@ int PluginVClient::process_buffer(VFrame *frame,
        int64_t start_position,
        double frame_rate)
 {
-       read_frame(frame, 0, start_position, frame_rate);
+       read_frame(frame, 0, start_position, frame_rate, 0);
        process_realtime(frame, frame);
        return 0;
 }
 
 
-// Replaced by pull method
-// void PluginVClient::plugin_process_realtime(VFrame **input, 
-//             VFrame **output, 
-//             int64_t current_position,
-//             int64_t total_len)
-// {
-//     this->source_position = current_position;
-//     this->total_len = total_len;
-// 
-//     if(is_multichannel())
-//             process_realtime(input, output);
-//     else
-//             process_realtime(input[0], output[0]);
-// }
-
 int PluginVClient::plugin_start_loop(int64_t start, 
        int64_t end, 
        int64_t buffer_size,