From b500b4b24bfe53b24ec1a7bd4bdeed9e6a67dd7b Mon Sep 17 00:00:00 2001 From: "Joshua M. Doe" Date: Wed, 30 Oct 2019 14:42:51 -0400 Subject: [PATCH] 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. --- sys/imperxflex/gstframelinksrc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/imperxflex/gstframelinksrc.c b/sys/imperxflex/gstframelinksrc.c index d2a2deb..82dace4 100644 --- a/sys/imperxflex/gstframelinksrc.c +++ b/sys/imperxflex/gstframelinksrc.c @@ -356,9 +356,7 @@ gst_framelinksrc_start (GstBaseSrc * bsrc) memcpy (&src->pixInfo, &camConfig.pixelInfo, sizeof (VCECLB_RawPixelInfoEx)); if (ci->Packed == 1) { - GST_ELEMENT_ERROR (src, RESOURCE, SETTINGS, - ("Packed pixel data not supported yet."), (NULL)); - return FALSE; + GST_LOG_OBJECT (src, "Pixel data is packed, we'll unpack it"); } /* enumerate devices */