diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-05-27 16:32:18 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-05-27 16:32:18 +0000 |
commit | 4249a7eaf8afcb0650c80ce2792c618ad797c94f (patch) | |
tree | 57b3c11f5ffc7daf556b717187cbdf90257aa92d /ext | |
parent | 3208d8dca7653aa6c3f362262a9dc691244b2787 (diff) | |
download | gst-plugins-bad-4249a7eaf8afcb0650c80ce2792c618ad797c94f.tar.gz gst-plugins-bad-4249a7eaf8afcb0650c80ce2792c618ad797c94f.tar.bz2 gst-plugins-bad-4249a7eaf8afcb0650c80ce2792c618ad797c94f.zip |
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.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/alsaspdif/alsaspdifsink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/alsaspdif/alsaspdifsink.c b/ext/alsaspdif/alsaspdifsink.c index a6ce440e..c57f7239 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)) { |