imperxflexsrc: add timeout property, unlock and unlock_stop methods for better fault handling

This commit is contained in:
Joshua M. Doe
2016-07-06 14:36:59 -04:00
parent f2c86ccd48
commit e876660438
2 changed files with 92 additions and 13 deletions

View File

@@ -55,6 +55,7 @@ struct _GstFramelinkSrc
guint num_capture_buffers;
guint board;
guint channel;
gint timeout;
GstBuffer *buffer;
@@ -65,6 +66,7 @@ struct _GstFramelinkSrc
GMutex mutex;
GCond cond;
gboolean stop_requested;
};
struct _GstFramelinkSrcClass