Commit 50b9b8ac authored by Wim Taymans's avatar Wim Taymans
Browse files

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.
parent ee8ed3a8
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> 2005-07-27 Wim Taymans <wim@fluendo.com>
   
* examples/seeking/seek.c: (setup_dynamic_link), * examples/seeking/seek.c: (setup_dynamic_link),
......
...@@ -290,11 +290,10 @@ gst_base_audio_sink_event (GstBaseSink * bsink, GstEvent * event) ...@@ -290,11 +290,10 @@ gst_base_audio_sink_event (GstBaseSink * bsink, GstEvent * event)
GstBaseAudioSink *sink = GST_BASE_AUDIO_SINK (bsink); GstBaseAudioSink *sink = GST_BASE_AUDIO_SINK (bsink);
switch (GST_EVENT_TYPE (event)) { switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_FLUSH: case GST_EVENT_FLUSH_START:
if (GST_EVENT_FLUSH_DONE (event)) { gst_ring_buffer_pause (sink->ringbuffer);
} else { break;
gst_ring_buffer_pause (sink->ringbuffer); case GST_EVENT_FLUSH_STOP:
}
break; break;
case GST_EVENT_EOS: case GST_EVENT_EOS:
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment