gst-libs/gst/audio/gstbaseaudiosrc.c: More compilation fixen.

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_event):
More compilation fixen.
This commit is contained in:
Wim Taymans 2005-07-27 19:13:27 +00:00
parent 50b9b8acc4
commit 78b9a84efa
2 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2005-07-27 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_event):
More compilation fixen.
2005-07-27 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/audio/gstbaseaudiosink.c:

View file

@ -285,11 +285,10 @@ gst_base_audio_src_event (GstBaseSrc * bsrc, GstEvent * event)
GstBaseAudioSrc *src = GST_BASE_AUDIO_SRC (bsrc);
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_FLUSH:
if (GST_EVENT_FLUSH_DONE (event)) {
} else {
case GST_EVENT_FLUSH_START:
gst_ring_buffer_pause (src->ringbuffer);
}
break;
case GST_EVENT_FLUSH_STOP:
break;
default:
break;