From 78b9a84efa8b223e594746e7235d87ea6685e370 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 27 Jul 2005 19:13:27 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ gst-libs/gst/audio/gstbaseaudiosrc.c | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 275a343adf..640201b383 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-27 Wim Taymans + + * gst-libs/gst/audio/gstbaseaudiosrc.c: (gst_base_audio_src_event): + More compilation fixen. + 2005-07-27 Wim Taymans * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/gst-libs/gst/audio/gstbaseaudiosrc.c b/gst-libs/gst/audio/gstbaseaudiosrc.c index 5a08a63703..cca5b0d01f 100644 --- a/gst-libs/gst/audio/gstbaseaudiosrc.c +++ b/gst-libs/gst/audio/gstbaseaudiosrc.c @@ -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 { - gst_ring_buffer_pause (src->ringbuffer); - } + case GST_EVENT_FLUSH_START: + gst_ring_buffer_pause (src->ringbuffer); + break; + case GST_EVENT_FLUSH_STOP: break; default: break;