We know that the gchar arrays contain at least one string. Furthermore, g_strfreev() checks if the array is NULL and simply returns if it is. Hence, there is no need to check if the array is empty before using g_strfreev(). CID 1327412-1327415
Switch gstmotioncells to C++ for consistency with other OpenCV elements, and support of the new 2.4.11 API. https://bugzilla.gnome.org/show_bug.cgi?id=754148