phoenix: use callbacks to count buffers and detect errors
This way we can detect dropped frames
This commit is contained in:
@@ -71,6 +71,13 @@ struct _GstPhoenixSrc
|
||||
//INT32 connector;
|
||||
|
||||
gchar *config_filepath;
|
||||
gboolean buffer_ready;
|
||||
guint buffer_ready_count;
|
||||
gboolean timeout_occurred;
|
||||
gboolean fifo_overflow_occurred;
|
||||
|
||||
GMutex *mutex;
|
||||
GCond *cond;
|
||||
};
|
||||
|
||||
struct _GstPhoenixSrcClass
|
||||
|
||||
Reference in New Issue
Block a user