fix problem of using opengl transitions with Motion51 when in OpenGL mode
authorGood Guy <good1.2guy@gmail.com>
Tue, 21 Sep 2021 01:16:08 +0000 (19:16 -0600)
committerGood Guy <good1.2guy@gmail.com>
Tue, 21 Sep 2021 01:16:08 +0000 (19:16 -0600)
cinelerra-5.1/plugins/motion51/motion51.C

index b61e22442b91109f35c2fa69255a888a2b175374..d694b23432a0f03e9820589063110d4edb01d290 100644 (file)
@@ -434,7 +434,9 @@ int Motion51Main::process_buffer(VFrame **frame, int64_t position, double frame_
                &corner_float : &corner_uint8;
 
        int use_opengl = get_use_opengl();
-       read_frame(out, target_layer, out_position, frame_rate, use_opengl);
+//     Do NOT use opengl here because if you so than dissolve, flash, and zoome can cause problems.
+//     read_frame(out, target_layer, out_position, frame_rate, use_opengl);
+       read_frame(out, target_layer, out_position, frame_rate, 0);
        out_w = out->get_w();
        out_h = out->get_h();
        out_r = 0.5 * (out_w < out_h ? out_w : out_h);