imperxflexsrc: support packed pixel formats

Since we're using the Imperx unpack function, we can easily handle
packed pixel formats. For performance reasons, we could always support
packed pixel formats directly by adding new caps.
This commit is contained in:
Joshua M. Doe 2019-10-30 14:42:51 -04:00
parent 79a5e67de0
commit b500b4b24b

View File

@ -356,9 +356,7 @@ gst_framelinksrc_start (GstBaseSrc * bsrc)
memcpy (&src->pixInfo, &camConfig.pixelInfo, sizeof (VCECLB_RawPixelInfoEx)); memcpy (&src->pixInfo, &camConfig.pixelInfo, sizeof (VCECLB_RawPixelInfoEx));
if (ci->Packed == 1) { if (ci->Packed == 1) {
GST_ELEMENT_ERROR (src, RESOURCE, SETTINGS, GST_LOG_OBJECT (src, "Pixel data is packed, we'll unpack it");
("Packed pixel data not supported yet."), (NULL));
return FALSE;
} }
/* enumerate devices */ /* enumerate devices */