From b0122623f0b9be1d264df1f91f996341f13201ae Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 7 Jun 2003 00:17:51 +0000 Subject: [PATCH] Remove NEW_MEDIA from plugins Original commit message from CVS: Remove NEW_MEDIA from plugins --- ext/alsa/gstalsa.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ext/alsa/gstalsa.c b/ext/alsa/gstalsa.c index 6238b2c..76b7b4f 100644 --- a/ext/alsa/gstalsa.c +++ b/ext/alsa/gstalsa.c @@ -547,19 +547,6 @@ gst_alsa_sink_check_event (GstAlsaSink *sink, gint pad_nr) case GST_EVENT_INTERRUPT: cont = FALSE; break; - case GST_EVENT_NEW_MEDIA: - /* only the first pad my seek */ - if (pad_nr != 0) - break; - - if (GST_CLOCK_TIME_IS_VALID (this->clock->start_time)) { /* if the clock is running */ - g_assert (this->format); - /* adjust the start time */ - this->clock->start_time += gst_alsa_samples_to_timestamp (this, this->transmitted); - } - this->transmitted = 0; - /* FIXME: Notify the clock that we're at offset 0 again */ - break; case GST_EVENT_DISCONTINUOUS: { gint64 value; -- 2.7.4