From 6490c4eb3d6b404d0fbdcc1b5c1cb907ee6b1c44 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 8 Sep 2010 17:43:47 +0300 Subject: [PATCH] pulsesink: remove unused code --- ext/pulse/pulsesink.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index 323ca7d953..d22dc72c9d 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -272,10 +272,8 @@ static GstPulseContext * gst_pulsering_get_context (GstPulseRingBuffer * pbuf) { GstPulseContext *pctx; - GstPulseSink *psink; g_mutex_lock (pa_ring_buffer_mutex); - psink = GST_PULSESINK_CAST (GST_OBJECT_PARENT (pbuf)); pctx = g_hash_table_lookup (gst_pulse_shared_contexts, pbuf->context_name); g_mutex_unlock (pa_ring_buffer_mutex); return pctx;