niimaqdxsrc: fix timestamping, using frame done callback

This commit is contained in:
Joshua M. Doe
2016-07-13 10:53:56 -04:00
parent e9df2bd790
commit f96c1087e4
2 changed files with 62 additions and 97 deletions

View File

@@ -74,20 +74,14 @@ struct _GstNiImaqDxSrc {
guint8 *temp_buffer;
const ImaqDxCapsInfo *caps_info;
gint64 n_frames; /* total frames sent */
uInt32 cumbufnum;
gint64 n_dropped_frames;
GstClockTime *times;
IMAQdxSession session;
gboolean session_started;
GstClockTime base_time;
GstDateTime *start_time;
gboolean start_time_sent;
GMutex mutex;
GAsyncQueue *time_queue;
};
struct _GstNiImaqDxSrcClass {