From adee56222b82dddd175370102d33cd30cf2330f4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 21 Jun 2011 18:19:02 +0200 Subject: [PATCH] pulsesink: fix for header cleanups --- ext/pulse/pulsesink.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index 812a8a9..4bce57d 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -1072,8 +1072,7 @@ gst_pulseringbuffer_start (GstRingBuffer * buf) /* EOS needs running clock */ if (GST_BASE_SINK_CAST (psink)->eos || - g_atomic_int_get (&GST_BASE_AUDIO_SINK (psink)->abidata. - ABI.eos_rendering)) + g_atomic_int_get (&GST_BASE_AUDIO_SINK (psink)->eos_rendering)) gst_pulsering_set_corked (pbuf, FALSE, FALSE); pa_threaded_mainloop_unlock (mainloop); @@ -1289,7 +1288,7 @@ gst_pulseringbuffer_commit (GstRingBuffer * buf, guint64 * sample, if (G_UNLIKELY (g_atomic_int_get (&buf->state) != GST_RING_BUFFER_STATE_STARTED)) { /* see if we are allowed to start it */ - if (G_UNLIKELY (g_atomic_int_get (&buf->abidata.ABI.may_start) == FALSE)) + if (G_UNLIKELY (g_atomic_int_get (&buf->may_start) == FALSE)) goto no_start; GST_DEBUG_OBJECT (buf, "start!"); -- 2.7.4