plugins/elements/gstqueue.*: Be smarter when calculating the current amount of data...
authorWim Taymans <wim.taymans@gmail.com>
Thu, 10 May 2007 15:21:20 +0000 (15:21 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 10 May 2007 15:21:20 +0000 (15:21 +0000)
commit3da8ea1c3dba7465c02bd1833087df5bd16d81dc
tree3e46d479aa696064813816ea9352c1e7398858d4
parent687b7ad0092217181b83e816e276d28571c67bcd
plugins/elements/gstqueue.*: Be smarter when calculating the current amount of data in the queue by measuring the dif...

Original commit message from CVS:
* plugins/elements/gstqueue.c: (gst_queue_class_init),
(update_time_level), (gst_queue_locked_flush),
(gst_queue_handle_sink_event), (gst_queue_chain),
(gst_queue_push_one), (gst_queue_loop):
* plugins/elements/gstqueue.h:
Be smarter when calculating the current amount of data in the queue by
measuring the difference between start and end timestamps (in running
time) inside the queue. Fixes #432876.
API: GstQueue::pushing to notify elements that we are pushing data again
since the running signal is rather broken for this purpose.
ChangeLog
plugins/elements/gstqueue.c
plugins/elements/gstqueue.h