configure.ac: Require CVS core and base for new audio clock reset method.

Original commit message from CVS:
* configure.ac:
Require CVS core and base for new audio clock reset method.
* ext/alsaspdif/alsaspdifsink.c: (alsaspdifsink_change_state):
Reset the audio clock. See #521761.
This commit is contained in:
Wim Taymans 2008-05-27 16:32:18 +00:00
parent 3208d8dca7
commit 4249a7eaf8
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
* configure.ac:
Require CVS core and base for new audio clock reset method.
* ext/alsaspdif/alsaspdifsink.c: (alsaspdifsink_change_state):
Reset the audio clock. See #521761.
2008-05-26 Wim Taymans <wim.taymans@collabora.co.uk>
* ext/jack/gstjackaudiosink.c:

View file

@ -45,8 +45,8 @@ AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
dnl *** required versions of GStreamer stuff ***
GST_REQ=0.10.19
GSTPB_REQ=0.10.19
GST_REQ=0.10.19.1
GSTPB_REQ=0.10.19.1
dnl *** autotools stuff ****

View file

@ -795,6 +795,7 @@ alsaspdifsink_change_state (GstElement * element, GstStateChange transition)
switch (transition) {
case GST_STATE_CHANGE_NULL_TO_READY:
sink->frames = 0;
gst_audio_clock_reset (GST_AUDIO_CLOCK (sink->clock), 0);
break;
case GST_STATE_CHANGE_READY_TO_PAUSED:
if (!alsaspdifsink_open (sink)) {