gstreamer/tests/check/gst
Wim Taymans d14c4c4a67 docs/gst/gstreamer-sections.txt: Add new element field and method.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add new element field and method.
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
(bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_recalc_state), (gst_bin_get_state_func),
(gst_bin_element_set_state), (gst_bin_change_state_func),
(gst_bin_continue_func), (bin_bus_handler),
(bin_push_state_continue), (bin_handle_async_start),
(bin_handle_async_done), (gst_bin_handle_message_func):
Make async state changes a bit smarter by using new ASYNC_START and
ASYNC_DONE messages. This reduces the number of times we run the state
recalculation thread.
Don't change state of element with a pending ASYNC_START message.
Deprecate STATE_DIRTY messages.
* gst/gstelement.c: (gst_element_init), (gst_element_send_event),
(gst_element_get_state_func), (gst_element_continue_state),
(gst_element_lost_state), (gst_element_set_state_func),
(gst_element_change_state):
* gst/gstelement.h:
Keep the state that was last set by the app in a new element field.
Don't allow state changes when handling an element event.
Post ASYNC_START and ASYNC_DONE messages.
Change lost_state so that we go to PAUSED and wait for the parent to set
us to PLAYING again (so latency calculation can be performed)
Export gst_element_change_state() method so that subclasses can use it.
API: gst_element_change_state()
API: GST_STATE_TARGET
* gst/gstpipeline.c: (gst_pipeline_class_init),
(reset_stream_time), (gst_pipeline_change_state),
(gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
Using the new ASYNC_START message we can reset the base_time when
needed. This can then be used to implement base_time redistribution in
flushing seeks so that we can remove the explicit seek handling.
Perform latency query and configuration when going to PLAYING.
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_query), (gst_base_sink_change_state):
Post new ASYNC_START/ASYNC_DONE messages.
* tests/check/generic/sinks.c: (GST_START_TEST):
Fix test because the bin will not set the async element to PLAYING right
away.
* tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
Make the message check a little stronger.
Handle ASYNC messages.
* tests/check/pipelines/cleanup.c: (GST_START_TEST):
* tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
Expect ASYNC_DONE messages.
2007-03-19 10:47:56 +00:00
..
.gitignore tests/check/: Add minimal unit test for beforementioned GstTagSetter bug. 2007-01-12 10:53:54 +00:00
capslist.h check/gst/capslist.h: Comment test cases 2005-11-22 12:35:42 +00:00
gst.c libs/gst/check/gstcheck.h: add some assert_ as alias for fail_unless_* 2006-07-02 22:05:48 +00:00
gstabi.c tests/check/: Add ABI checks for PPC32. 2007-02-09 13:59:32 +00:00
gstbin.c docs/gst/gstreamer-sections.txt: Add new element field and method. 2007-03-19 10:47:56 +00:00
gstbuffer.c gst/gstbuffer.c: Copy duration/offset_end/caps when creating a subbuffer of the complete parent. 2006-08-21 09:30:04 +00:00
gstbus.c API: gst_bus_timed_pop() 2007-02-27 17:22:07 +00:00
gstcaps.c tests/check/gst/gstcaps.c: Add some tests for gst_caps_intersect(). 2006-09-27 09:23:18 +00:00
gstelement.c Check for NULL before _reffing the bus. Fixes #353122. 2006-08-28 08:35:31 +00:00
gstevent.c tests/check/gst/gstevent.c: Improve debugging. 2007-02-15 08:40:38 +00:00
gstghostpad.c tests/check/gst/gstghostpad.c: Fix leak in check. 2006-10-02 16:46:16 +00:00
gstinfo.c tests/check/gst/gstinfo.c: Disable test that require gstdebug if it wasn't built in core. 2006-08-18 13:41:02 +00:00
gstiterator.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstmessage.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstminiobject.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstobject.c gst/gstobject.c: Random micro-optimisation: don't use a hash table with strings as keys and the usual strdup/strcmp i... 2006-07-07 17:16:26 +00:00
gstpad.c tests/check/gst/gstpad.c: Fix 'make check' too. 2007-01-11 10:48:59 +00:00
gstpipeline.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstplugin.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstquery.c gst/gstcaps.*: Fix docs and indentation again. 2006-08-28 16:39:20 +00:00
gstregistry.c API: add gst_update_registry() (#391296). 2007-01-08 20:30:12 +00:00
gstsegment.c tests/check/gst/gstsegment.c: Fix check 2007-02-13 15:51:00 +00:00
gststructure.c tests/check/gst/gststructure.c: Push coverage from 59.04% to 70.00% 2006-07-02 08:26:48 +00:00
gstsystemclock.c gst/gstclock.c: Make period ids add the interval to the origial requested time instead of the possibly updated time w... 2006-12-07 10:51:36 +00:00
gsttag.c tests/check/gst/gsttag.c: relicence (okay with author=company) 2006-11-06 15:22:40 +00:00
gsttagsetter.c tests/check/: Add minimal unit test for beforementioned GstTagSetter bug. 2007-01-12 10:53:54 +00:00
gsttask.c tests/check/gst/gsttask.c: Fix header comment. 2007-01-15 14:51:09 +00:00
gstutils.c gst/gstutils.c: Fix memleak (#351502). 2006-08-15 18:45:39 +00:00
gstvalue.c gst/gstformat.c: Fix locking order (must take lock before using n_values). 2006-09-17 19:26:16 +00:00
gstxml.c gst/gstxml.c: Improve and detypofy docs. 2006-08-29 10:49:03 +00:00
struct_hppa.h tests/check/: Add ABI structs for HPPA (see #393796). 2007-01-17 12:31:01 +00:00
struct_i386.h libs/gst/check/gstcheck.*: factor out the method from tests that checks size of structures, and add code to generate ... 2006-06-06 13:48:20 +00:00
struct_ppc32.h tests/check/: Add ABI checks for PPC32. 2007-02-09 13:59:32 +00:00
struct_ppc64.h ifdef LOADSAVE 2006-06-06 16:52:59 +00:00
struct_x86_64.h ifdef LOADSAVE 2006-06-06 16:52:59 +00:00