plugins/elements/gstinputselector.*: Various cleanups.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 13 Mar 2008 16:46:04 +0000 (16:46 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 31 Dec 2010 00:53:14 +0000 (00:53 +0000)
commit3fcc4068158a575f841e097cf488d05735fd1249
treecf9de73112ec12b0f83f143c537012eed9296930
parenteaff78cc08c5f0767ae5f613d21573e5ee0ec4b8
plugins/elements/gstinputselector.*: Various cleanups.

Original commit message from CVS:
* plugins/elements/gstinputselector.c: (gst_selector_pad_class_init),
(gst_selector_pad_finalize), (gst_selector_pad_get_property),
(gst_selector_pad_event), (gst_input_selector_class_init),
(gst_input_selector_init), (gst_input_selector_set_active_pad),
(gst_input_selector_set_property),
(gst_input_selector_get_property),
(gst_input_selector_request_new_pad),
(gst_input_selector_release_pad),
(gst_input_selector_push_pending_stop),
(gst_input_selector_switch):
* plugins/elements/gstinputselector.h:
Various cleanups.
Added tags to the pads.
Select active pad based on the pad object instead of its name.
Fix refcount in set_active_pad.
Add property to get the number of pads.
* plugins/elements/gstoutputselector.c:
(gst_output_selector_class_init),
(gst_output_selector_set_property),
(gst_output_selector_get_property):
Various cleanups.
Select the active pad based on the pad object instead of its name.
Fix locking when setting the active pad.
* plugins/elements/gstselector-marshal.list:
* tests/check/elements/selector.c: (cleanup_pad),
(selector_set_active_pad), (run_input_selector_buffer_count):
Fixes for pad instead of padname for pad selection.
plugins/elements/gstinputselector.c
plugins/elements/gstinputselector.h
plugins/elements/gstoutputselector.c
plugins/elements/gstselector-marshal.list
tests/check/elements/selector.c