From: Wim Taymans Date: Tue, 27 May 2008 16:32:18 +0000 (+0000) Subject: configure.ac: Require CVS core and base for new audio clock reset method. X-Git-Tag: 1.19.3~507^2~20237 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4249a7eaf8afcb0650c80ce2792c618ad797c94f;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ChangeLog b/ChangeLog index 2f20633..261d73e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-05-27 Wim Taymans + + * 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 * ext/jack/gstjackaudiosink.c: diff --git a/configure.ac b/configure.ac index c4416ca..5efa935 100644 --- a/configure.ac +++ b/configure.ac @@ -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 **** diff --git a/ext/alsaspdif/alsaspdifsink.c b/ext/alsaspdif/alsaspdifsink.c index a6ce440..c57f723 100644 --- a/ext/alsaspdif/alsaspdifsink.c +++ b/ext/alsaspdif/alsaspdifsink.c @@ -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)) {