[gst-cvs] tpm gstreamer: gstreamer/ gstreamer/plugins/elements/ gstreamer/tests/check/elements/

tpm at kemper.freedesktop.org tpm at kemper.freedesktop.org
Wed Apr 30 07:21:02 PDT 2008


CVS Root:       /cvs/gstreamer
Module:         gstreamer
Changes by:     tpm
Date:           Wed Apr 30 2008  14:21:02 UTC

Log message:
	* plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
	  Since we're not called only from the chain function any longer,
	  we can't assume that there's always data in the queue, so move
	  the is_full check to the beginning of the loop (otherwise we'd
	  hit the assert when changing the limit properties while the
	  queue is empty or not running yet).
	  Also, only set a discont if items were actually removed from
	  the queue.
	* tests/check/elements/queue.c: (test_leaky_downstream):
	  Test case for the above.

Modified files:
    .               : ChangeLog
    plugins/elements: gstqueue.c
    tests/check/elements: queue.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.3817&r2=1.3818
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/plugins/elements/gstqueue.c.diff?r1=1.217&r2=1.218
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tests/check/elements/queue.c.diff?r1=1.7&r2=1.8




More information about the Gstreamer-commits mailing list