gstreamer/tests/check
Olivier Crete ee0eaf824b gst/gstbin.c: Keep track of pads that are being linked/unlinked and resync the state changes.
Original commit message from CVS:
Base on Patch by: Olivier Crete <tester at tester dot ca>
* gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
(gst_bin_remove_func), (update_degree),
(gst_bin_sort_iterator_new), (gst_bin_handle_message_func):
Keep track of pads that are being linked/unlinked and resync the state
changes.
* gst/gstpad.c: (gst_pad_get_direction),
(gst_pad_set_chain_function), (gst_pad_set_getrange_function),
(gst_pad_set_checkgetrange_function), (gst_pad_unlink),
(gst_pad_link_prepare), (gst_pad_link),
(gst_pad_event_default_dispatch), (gst_pad_chain), (gst_pad_push),
(gst_pad_check_pull_range), (gst_pad_get_range),
(gst_pad_pull_range):
Some code cleanups, use macros to check pad direction.
Don't need to take the lock on the pad direction.
Post structure change when pads are linked/unlinked.
Change some checks into _return_if_fail().
* tests/check/gst/gstbin.c:
(test_link_structure_change_state_changed_sync_cb),
(GST_START_TEST), (gst_bin_suite):
Add testcase for pad link/unlinke resync during a state change.
Fixes #510354.
2008-10-06 16:15:02 +00:00
..
elements Fix assertion in basetransform when the subclass chooses not to allocate a buffer in prepare_buffer(), and make capsf... 2008-09-28 21:19:15 +00:00
generic libs/gst/base/gstbasesink.c: Improve position reporting in the flushing state. 2008-08-19 16:47:07 +00:00
gst gst/gstbin.c: Keep track of pads that are being linked/unlinked and resync the state changes. 2008-10-06 16:15:02 +00:00
libs Add bit reader and byte reader classes, including documentation and an extensive unit test suite. Fixes bug #553554. 2008-10-06 12:41:53 +00:00
pipelines tests/check/: Use HAVE_VALGRIND_H some more. 2008-06-20 21:08:47 +00:00
.gitignore tests/check/.cvsignore: Ignore test-registry.xml as well. 2007-01-09 14:38:11 +00:00
Makefile.am Add bit reader and byte reader classes, including documentation and an extensive unit test suite. Fixes bug #553554. 2008-10-06 12:41:53 +00:00