summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-11-18 12:37:10 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2011-11-18 12:37:10 +0100
commit285702a1a6b7a41e951dcb448ba9487752143fef (patch)
tree17ceeb643e9304692ee70e00265f43d386f05faa
parent7afdff3575a626b776b7ab075f50a8d327e4495a (diff)
fix for scheduling mode rename
-rw-r--r--gst-libs/gst/audio/gstaudiobasesink.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/audio/gstaudiobasesink.c b/gst-libs/gst/audio/gstaudiobasesink.c
index b4ff504d4..741238794 100644
--- a/gst-libs/gst/audio/gstaudiobasesink.c
+++ b/gst-libs/gst/audio/gstaudiobasesink.c
@@ -892,7 +892,7 @@ gst_audio_base_sink_setcaps (GstBaseSink * bsink, GstCaps * caps)
if (!gst_audio_ring_buffer_acquire (sink->ringbuffer, spec))
goto acquire_error;
- if (bsink->pad_mode == GST_PAD_ACTIVATE_PUSH) {
+ if (bsink->pad_mode == GST_PAD_MODE_PUSH) {
GST_DEBUG_OBJECT (sink, "activate ringbuffer");
gst_audio_ring_buffer_activate (sink->ringbuffer, TRUE);
}
@@ -2089,7 +2089,7 @@ gst_audio_base_sink_async_play (GstBaseSink * basesink)
GST_DEBUG_OBJECT (sink, "ringbuffer may start now");
sink->priv->sync_latency = TRUE;
gst_audio_ring_buffer_may_start (sink->ringbuffer, TRUE);
- if (basesink->pad_mode == GST_PAD_ACTIVATE_PULL) {
+ if (basesink->pad_mode == GST_PAD_MODE_PULL) {
/* we always start the ringbuffer in pull mode immediatly */
gst_audio_ring_buffer_start (sink->ringbuffer);
}
@@ -2143,7 +2143,7 @@ gst_audio_base_sink_change_state (GstElement * element,
GST_OBJECT_UNLOCK (sink);
gst_audio_ring_buffer_may_start (sink->ringbuffer, TRUE);
- if (GST_BASE_SINK_CAST (sink)->pad_mode == GST_PAD_ACTIVATE_PULL ||
+ if (GST_BASE_SINK_CAST (sink)->pad_mode == GST_PAD_MODE_PULL ||
g_atomic_int_get (&sink->eos_rendering) || eos) {
/* we always start the ringbuffer in pull mode immediatly */
/* sync rendering on eos needs running clock,