From: Wim Taymans Date: Tue, 21 Jun 2011 16:19:02 +0000 (+0200) Subject: pulsesink: fix for header cleanups X-Git-Tag: RELEASE-0.11.1~557 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=adee56222b82dddd175370102d33cd30cf2330f4;p=platform%2Fupstream%2Fgst-plugins-good.git pulsesink: fix for header cleanups --- 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!");