niimaqdxsrc: send error msg on unsupported pixel formats, not assert

This commit is contained in:
Joshua M. Doe
2015-09-15 15:33:09 -04:00
parent 7b8a6f2453
commit 4ea4487d2f
2 changed files with 10 additions and 2 deletions

View File

@@ -66,6 +66,7 @@ struct _GstNiImaqDxSrc {
gboolean bayer_as_gray;
/* image info */
char pixel_format[IMAQDX_MAX_API_STRING_LENGTH];
int width;
int height;
int dx_row_stride;