2005-05-25 Wim Taymans <wim@fluendo.com>
+ * gst-libs/gst/audio/gstaudiosink.c:
+ (gst_audioringbuffer_get_type), (gst_audioringbuffer_class_init),
+ (audioringbuffer_thread_func), (gst_audioringbuffer_init),
+ (gst_audioringbuffer_acquire), (gst_audioringbuffer_release),
+ (gst_audioringbuffer_play), (gst_audioringbuffer_stop),
+ (gst_audioringbuffer_delay), (gst_audiosink_class_init),
+ (gst_audiosink_create_ringbuffer):
+ * gst-libs/gst/audio/gstbaseaudiosink.c:
+ (gst_baseaudiosink_class_init), (gst_baseaudiosink_init),
+ (gst_baseaudiosink_get_clock), (gst_baseaudiosink_get_time),
+ (gst_baseaudiosink_set_property), (build_linear_format),
+ (debug_spec_caps), (debug_spec_buffer),
+ (gst_baseaudiosink_setcaps), (gst_baseaudiosink_get_times),
+ (gst_baseaudiosink_event), (gst_baseaudiosink_preroll),
+ (gst_baseaudiosink_render), (gst_baseaudiosink_create_ringbuffer),
+ (gst_baseaudiosink_callback), (gst_baseaudiosink_change_state):
+ * gst-libs/gst/audio/gstringbuffer.c: (gst_ringbuffer_get_type),
+ (gst_ringbuffer_set_callback), (gst_ringbuffer_acquire),
+ (gst_ringbuffer_release), (gst_ringbuffer_is_acquired),
+ (gst_ringbuffer_play), (gst_ringbuffer_pause),
+ (gst_ringbuffer_stop), (gst_ringbuffer_delay),
+ (gst_ringbuffer_played_samples), (gst_ringbuffer_set_sample),
+ (wait_segment), (gst_ringbuffer_commit),
+ (gst_ringbuffer_prepare_read), (gst_ringbuffer_advance),
+ (gst_ringbuffer_clear):
+ Various small cleanups.
+
+ * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_chain),
+ (gst_audio_convert_change_state):
+ * gst/subparse/gstsubparse.c: (gst_subparse_chain):
+ No need to take the locks anymore.
+
+2005-05-25 Wim Taymans <wim@fluendo.com>
+
* gst/playback/gstdecodebin.c: (gst_decode_bin_init),
(gst_decode_bin_dispose), (try_to_link_1), (get_our_ghost_pad),
(remove_element_chain), (no_more_pads), (unlinked), (close_link),
* - convert rate and channels
* - convert back to output format
*/
- GST_STREAM_LOCK (pad);
-
if (!GST_RPAD_CAPS (this->sink)) {
goto not_negotiated;
} else if (!GST_RPAD_CAPS (this->src)) {
ret = gst_pad_push (this->src, buf);
- GST_STREAM_UNLOCK (pad);
-
return ret;
not_negotiated:
GST_ELEMENT_ERROR (this, CORE, NEGOTIATION, (NULL),
("Pad not negotiated before chain function was called"));
gst_buffer_unref (buf);
- GST_STREAM_UNLOCK (pad);
return GST_FLOW_NOT_NEGOTIATED;
}
no_format:
GST_ELEMENT_ERROR (this, CORE, NEGOTIATION, (NULL),
("Could not negotiate format"));
gst_buffer_unref (buf);
- GST_STREAM_UNLOCK (pad);
return GST_FLOW_ERROR;
}
}
switch (transition) {
case GST_STATE_PAUSED_TO_READY:
- GST_STREAM_LOCK (this->sink);
this->convert_internal = NULL;
gst_audio_convert_unset_matrix (this);
gst_caps_replace (&GST_RPAD_CAPS (this->sink), NULL);
gst_caps_replace (&GST_RPAD_CAPS (this->src), NULL);
- GST_STREAM_UNLOCK (this->sink);
break;
default:
break;