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:
Joshua M. Doe
2014-01-16 08:49:35 -05:00
parent 9e585ffd46
commit 17a360b8d2
2 changed files with 54 additions and 64 deletions

View File

@@ -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;