gst-libs/gst/audio/gstbaseaudiosink.c: When slaved to the clock, don't try to align a sample with the previous one wh...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_async_play):
When slaved to the clock, don't try to align a sample with the previous
one when going to PLAYING again.
This commit is contained in:
Wim Taymans 2007-10-02 11:11:13 +00:00
parent 8bef6238c3
commit 5ba1ed3a21
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2007-10-02 Wim Taymans <wim.taymans@gmail.com>
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_async_play):
When slaved to the clock, don't try to align a sample with the previous
one when going to PLAYING again.
2007-10-02 Stefan Kost <ensonic@users.sf.net>
* tests/examples/snapshot/snapshot.c:

View file

@ -1291,6 +1291,7 @@ gst_base_audio_sink_async_play (GstBaseSink * basesink)
itime = gst_clock_get_internal_time (sink->provided_clock);
sink->priv->avg_skew = -1;
sink->next_sample = -1;
GST_DEBUG_OBJECT (sink,
"internal time: %" GST_TIME_FORMAT " external time: %" GST_TIME_FORMAT,