niimaqdx: don't rely on GstVideoFormat, and handle stride alignment

This commit is contained in:
Joshua M. Doe
2013-01-29 09:42:29 -05:00
parent dd3fe6f617
commit 757e7591d4
2 changed files with 170 additions and 40 deletions

View File

@@ -54,10 +54,11 @@ struct _GstNiImaqDxSrc {
gint ringbuffer_count;
/* image info */
GstVideoFormat format;
int width;
int height;
int dx_row_stride;
gint framesize;
guint8 *temp_buffer;
gint64 n_frames; /* total frames sent */
uInt32 cumbufnum;