gstreamer/tests/check/gst
Edward Hervey 4f9d5adb40 gst/gstbin.c: (de)activate src pads before calling state_change on the childs.
Original commit message from CVS:
* gst/gstbin.c: (activate_pads),
(iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
(gst_bin_change_state_func):
(de)activate src pads before calling state_change on the childs.
This is to avoid the case where a src ghostpad is blocked (holding the
stream lock), which would block the deactivation of the ghostpad's
target pad.
* gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
(gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
(gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
(gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
(gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
(gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
(gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
(gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
(gst_proxy_pad_dispose), (gst_proxy_pad_init),
(gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
(gst_ghost_pad_class_init),
(gst_ghost_pad_internal_do_activate_push),
(gst_ghost_pad_internal_do_activate_pull),
(gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
(gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
(gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
(gst_ghost_pad_new), (gst_ghost_pad_set_target):
GhostPads now create their internal GstProxyPad at creation (and not
when they're linked, as it was being done previously).
The internal and target pads are linked straight away.
The data will also travel through the other pad in order to make
pad blocking and probes non-hackish (the probe/block now really happens
on the GhostPad and not on the target).
* gst/gstpad.c: (gst_pad_set_blocked_async),
(gst_pad_link_prepare), (gst_pad_push_event):
Remove previous ghostpad cruft.
* gst/gstutils.c: (gst_pad_add_data_probe),
(gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
(gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
(gst_pad_remove_buffer_probe):
Remove previous ghost pad cruft.
Added more detailed debug statements.
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Fix the testsuite for refcounting changes.
The comments about who has references were correct, but the refcount
being checked wasn't the same (!?!).
2006-07-11 16:20:09 +00:00
..
.gitignore moap ignore 2006-07-02 22:20:20 +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/: use the new macro 2006-07-01 20:56:56 +00:00
gstbin.c fix leak 2006-07-03 11:10:43 +00:00
gstbuffer.c No point in checking if the size of the subbuffer > 0, the code handles it correclty as demonstrated by unit test. 2006-07-05 17:09:18 +00:00
gstbus.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstcaps.c unbreak test 2006-07-02 12:57:19 +00:00
gstelement.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstevent.c gst/gstpad.c: Implement pad blocking on events according to part-block.txt. 2006-07-03 10:30:49 +00:00
gstghostpad.c gst/gstbin.c: (de)activate src pads before calling state_change on the childs. 2006-07-11 16:20:09 +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/: use the new macro 2006-07-01 20:56:56 +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 tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstsegment.c tests/check/: use the new macro 2006-07-01 20:56:56 +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 tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gsttag.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gsttask.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstutils.c tests/check/: use the new macro 2006-07-01 20:56:56 +00:00
gstvalue.c tests/check/: use the new macro 2006-07-01 20:56:56 +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_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