configure.ac: We require 0.10.10.1 now because of _wait_preroll().

Original commit message from CVS:
* configure.ac:
We require 0.10.10.1 now because of _wait_preroll().
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Use gst_base_sink_wait_preroll().
This commit is contained in:
Wim Taymans 2006-09-15 09:13:50 +00:00
parent d3b4878bd8
commit 557b367295
3 changed files with 12 additions and 9 deletions

View file

@ -1,3 +1,12 @@
2006-09-15 Wim Taymans <wim@fluendo.com>
* configure.ac:
We require 0.10.10.1 now because of _wait_preroll().
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
Use gst_base_sink_wait_preroll().
2006-09-15 Wim Taymans <wim@fluendo.com>
* ext/alsa/gstalsasink.c: (xrun_recovery), (gst_alsasink_write):

View file

@ -52,7 +52,7 @@ dnl AS_LIBTOOL_TAGS
AM_PROG_LIBTOOL
dnl *** required versions of GStreamer stuff ***
GST_REQ=0.10.9.1
GST_REQ=0.10.10.1
dnl *** autotools stuff ****

View file

@ -640,15 +640,9 @@ no_sync:
if (written == samples)
break;
/* else something interrupted us */
GST_DEBUG_OBJECT (sink, "wait for preroll...");
bsink->have_preroll = TRUE;
GST_PAD_PREROLL_WAIT (bsink->sinkpad);
bsink->have_preroll = FALSE;
GST_DEBUG_OBJECT (sink, "preroll done");
if (G_UNLIKELY (bsink->flushing))
/* else something interrupted us and we wait for preroll. */
if (gst_base_sink_wait_preroll (bsink) != GST_FLOW_OK)
goto stopping;
GST_DEBUG_OBJECT (sink, "continue after preroll");
render_offset += written;
samples -= written;