framelinksrc: callback used now and use unpack function
Making the callback __stdcall fixed the problem. No clear way how to do a grab without using a callback, so remove that code. Also use unpack function provided by the library rather than rolling our own.
This commit is contained in:
@@ -57,11 +57,8 @@ struct _GstFramelinkSrc
|
||||
|
||||
GstCaps *caps;
|
||||
gint height;
|
||||
gint widthBytesPreValid;
|
||||
gint widthBytes;
|
||||
gint heightPreValid;
|
||||
gint gst_stride;
|
||||
guint flex_stride;
|
||||
VCECLB_RawPixelInfoEx pixInfo;
|
||||
|
||||
GMutex mutex;
|
||||
GCond cond;
|
||||
|
||||
Reference in New Issue
Block a user