Fixed #1613: removed YUV420i color conversion constants

This commit is contained in:
Andrey Kamaev
2012-02-21 15:08:03 +00:00
parent 9a88aea697
commit e426dfc396
7 changed files with 47 additions and 63 deletions

View File

@@ -291,8 +291,8 @@ CameraHandler* CameraHandler::initCameraConnect(const CameraCallback& callback,
format_to_set = "yuv420sp";
break;
}
if (0 == strncmp(pos, "yuv420i", ptr - pos))
format_to_set = "yuv420i";
if (0 == strncmp(pos, "yvu420sp", ptr - pos))
format_to_set = "yvu420sp";
}
if (*ptr == 0)
break;