gst-libs/gst/audio/gstbaseaudiosink.c: Fix compilation.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render),
(gst_base_audio_sink_create_ringbuffer),
(gst_base_audio_sink_change_state):
Fix compilation.
This commit is contained in:
Wim Taymans 2005-07-27 19:10:20 +00:00
parent ee8ed3a89d
commit 50b9b8acc4
2 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,11 @@
2005-07-27 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render),
(gst_base_audio_sink_create_ringbuffer),
(gst_base_audio_sink_change_state):
Fix compilation.
2005-07-27 Wim Taymans <wim@fluendo.com>
* examples/seeking/seek.c: (setup_dynamic_link),

View file

@ -290,11 +290,10 @@ gst_base_audio_sink_event (GstBaseSink * bsink, GstEvent * event)
GstBaseAudioSink *sink = GST_BASE_AUDIO_SINK (bsink);
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_FLUSH:
if (GST_EVENT_FLUSH_DONE (event)) {
} else {
gst_ring_buffer_pause (sink->ringbuffer);
}
case GST_EVENT_FLUSH_START:
gst_ring_buffer_pause (sink->ringbuffer);
break;
case GST_EVENT_FLUSH_STOP:
break;
case GST_EVENT_EOS:
break;