+/*
+ * CINELERRA
+ * Copyright (C) 2020 William Morrow
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published
+ * by the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ * USA
+ */
+
+
#include "affine.h"
#include "bchash.h"
#include "clip.h"
&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);