motioncells: fix misleading warning message

calculate_motion != FALSE means the motion computation
logic is disabled, not a mapping error.
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2015-12-27 21:19:19 -08:00
parent 8f3392ba44
commit c0ced1590d

View file

@ -1082,7 +1082,7 @@ gst_motion_cells_transform_ip (GstOpencvVideoFilter * base, GstBuffer * buf,
GFREE (motionmaskcellsidx);
GFREE (motioncellsidx);
} else {
GST_WARNING_OBJECT (filter, "error mapping input buffer");
GST_WARNING_OBJECT (filter, "Motion detection disabled");
GST_OBJECT_UNLOCK (filter);
}
return GST_FLOW_OK;