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:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user