gstreamer/tests
Andy Wingo 0d557a7bc2 gst/gstmessage.h gst/gstmessage.c (_gst_message_free)
Original commit message from CVS:
2005-02-23  Andy Wingo  <wingo@pobox.com>

* gst/gstmessage.h
* gst/gstmessage.c (_gst_message_free)
(gst_message_new_application): New message type, APPLICATION,
explicitly for use by applications.

* gst/gstbus.c (gst_bus_post): Only write a byte to the wakeup
socket if the queue is coming from an empty state. Fixes a bug
where posting a message could block, waiting for someone to read
out bytes from the socket.
(bus_watch_callback): Renamed from bus_callback, let gst_bus_pop
handle the socket read.
(bus_watch_destroy): Renamed from bus_destroy.

* check/Makefile.am: Re-enable the gst-register test so we can
deal with elements here. Add the gstbus tests.

* check/gst/gstbus.c: New check, spawns off a bunch of threads all
posting messages to a bus, then reads to see if they are in the
right order.

* check/pipelines/simple_launch_lines.c: Add some tests, and make
sure to pop the message off the bus after the poll.

* gst/gstbus.c (gst_bus_pop): Read off the control byte if the
queue becomes empty.
2005-02-23 16:08:21 +00:00
..
benchmarks fix waymans bug 2005-02-21 11:56:50 +00:00
bufspeed reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
check gst/gstmessage.h gst/gstmessage.c (_gst_message_free) 2005-02-23 16:08:21 +00:00
instantiate reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
memchunk reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
muxing reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
negotiation reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
old Added more docs. 2005-02-11 15:50:53 +00:00
probes reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
sched reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
seeking reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
threadstate reorganize C/LIB flags add gst_info to gstcompat.h 2004-05-04 12:38:36 +00:00
.gitignore gst/gstvalue.c: use ints and return ints, fractions only use ints, too, so this avoids accidently casting multiplicat... 2004-07-16 01:16:53 +00:00
lat.c don't mix tabs and spaces 2004-03-15 19:27:17 +00:00
Makefile.am tests/: add simple benchmark to test various speeds of fakesrc ! identity ! identity ! ... ! fakesink. 2004-07-02 03:26:44 +00:00
mass_elements.c fix waymans bug 2005-02-21 11:56:50 +00:00
README put everything in tests/ 2002-01-05 01:25:28 +00:00
spidey_bench.c gst/gstpad.c: throw an error if the getcaps function does not return a subset of the template caps. 2004-06-29 00:34:38 +00:00

This directory contains various tests designed to test GStreamer's
behavior. When these tests work, they should be recast in the form
of regression tests and moved to ../testsuite.