plugins/elements/gstinputselector.*: Figure out the locking a bit more.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 20 Mar 2008 16:48:46 +0000 (16:48 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 31 Dec 2010 00:53:16 +0000 (00:53 +0000)
commita7c7574dcf19bef4a8b982b1f0af0abdc7a34f5f
treebdcbf283c19bc3087790231e73e98699fb2c6d1c
parent6e03b710e8abfbb874fb20ef0399c2015644ba13
plugins/elements/gstinputselector.*: Figure out the locking a bit more.

Original commit message from CVS:
* plugins/elements/gstinputselector.c:
(gst_selector_pad_get_running_time), (gst_selector_pad_reset),
(gst_selector_pad_event), (gst_selector_pad_bufferalloc),
(gst_input_selector_wait), (gst_selector_pad_chain),
(gst_input_selector_class_init), (gst_input_selector_init),
(gst_input_selector_dispose), (gst_segment_set_start),
(gst_input_selector_set_active_pad),
(gst_input_selector_set_property),
(gst_input_selector_get_property),
(gst_input_selector_get_linked_pad),
(gst_input_selector_is_active_sinkpad),
(gst_input_selector_activate_sinkpad),
(gst_input_selector_request_new_pad),
(gst_input_selector_release_pad),
(gst_input_selector_change_state), (gst_input_selector_block),
(gst_input_selector_switch):
* plugins/elements/gstinputselector.h:
Figure out the locking a bit more.
Mark buffers with discont after switching.
Fix initial segment forwarding, make sure to only forward one segment
regardless of what the sequence of buffers/segments is. See #522203.
Improve flushing when blocked.
Return NOT_LINKED when a stream is not selected.
Not API change for the switch signal in the docs.
Fix start/time/accum values of the new segment.
Correctly unlock and flush a blocking selector when going to READY.
plugins/elements/gstinputselector.c
plugins/elements/gstinputselector.h