x265 update 2.7, findobj upgrade, fix svg init, fix for dragchkbox buttonpress, add...
[goodguy/history.git] / cinelerra-5.1 / plugins / flowobj / flowobj.C
index 32d3760da0d693c4265b8e63cc0345f7c75ac179..1f991e6cbef3528a246ffcb87ef0a263bde18b6d 100644 (file)
@@ -272,7 +272,7 @@ int FlowObj::process_buffer(VFrame *frame, int64_t start_position, double frame_
        goodFeaturesToTrack(next_mat,
                *next_corners, corner_count, 0.01,        // quality_level
                min_distance, noArray(), block_size,
-               0,           // use_harris
+               false,       // use_harris
                0.04);       // k
 
        if( !next_mat.empty() && next_corners->size() > 3 ) {
@@ -301,7 +301,7 @@ int FlowObj::process_buffer(VFrame *frame, int64_t start_position, double frame_
                        delete accum;  accum = 0;
                }
                if( !accum ) {
-                       accum = new VFrame(width, height, color_model);
+                       accum = new VFrame(width, height, color_model, 0);
                        accum->clear_frame();
                }
                if( !overlay )