plugins/elements/gsttee.c: Be a lot smarter when deciding what srcpad to use for...
authorWim Taymans <wim.taymans@gmail.com>
Tue, 3 Jul 2007 16:26:29 +0000 (16:26 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 3 Jul 2007 16:26:29 +0000 (16:26 +0000)
commit4cc7b818fdf7dfe2603f2198605c6b6ac7988883
tree7dcda67a01c429fc721039180af38c812b84fba9
parentf26d1795b9d1a994d0dec5b52af6f81f2e4206b5
plugins/elements/gsttee.c: Be a lot smarter when deciding what srcpad to use for proxying the buffer_alloc. Also hand...

Original commit message from CVS:
* plugins/elements/gsttee.c: (gst_tee_base_init),
(gst_tee_request_new_pad), (gst_tee_release_pad),
(gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
(gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
(gst_tee_chain):
Be a lot smarter when deciding what srcpad to use for proxying
the buffer_alloc. Also handle pad added/removed when doing so.
Fixes #357959.
Keep track of what pads we already pushed on in case we have pads
added/removed while pushing. Fixes #374639
* tests/check/Makefile.am:
* tests/check/elements/tee.c: (handoff), (GST_START_TEST),
(tee_suite):
Added unit test for pad resync.
ChangeLog
plugins/elements/gsttee.c
tests/check/Makefile.am
tests/check/elements/tee.c [new file with mode: 0644]