summaryrefslogtreecommitdiff
path: root/sys/avc/gstavcsrc.h
diff options
context:
space:
mode:
authorQuentin Smith <quentin@mit.edu>2011-04-19 13:53:54 -0400
committerDavid Schleef <ds@schleef.org>2011-05-18 12:06:38 -0700
commitedc93f89e17707002aad68023256316a0d820168 (patch)
treeeb65e88cf49a58e51474ec442df108080dd4db58 /sys/avc/gstavcsrc.h
parent5ce26c5cc72aa3a0a817093e981f180ef82081c7 (diff)
downloadgstreamer-plugins-bad-edc93f89e17707002aad68023256316a0d820168.tar.gz
avc: Track the number of enqueued and dequeued packets
Diffstat (limited to 'sys/avc/gstavcsrc.h')
-rw-r--r--sys/avc/gstavcsrc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/avc/gstavcsrc.h b/sys/avc/gstavcsrc.h
index 9d1f0bd93..e0fcf437e 100644
--- a/sys/avc/gstavcsrc.h
+++ b/sys/avc/gstavcsrc.h
@@ -46,6 +46,9 @@ struct _GstAVCSrc
AVCDeviceStream *pAVCDeviceStream;
int deviceIndex;
+ guint64 packets_enqueued;
+ guint64 packets_dequeued;
+
GstAtomicQueue *queue;
GCond *cond;
GMutex *queue_lock;