ext/alsa/gstalsa.c: cast to GstClockTime to get higher granularity
authorBenjamin Otte <otte@gnome.org>
Mon, 7 Jun 2004 01:41:37 +0000 (01:41 +0000)
committerBenjamin Otte <otte@gnome.org>
Mon, 7 Jun 2004 01:41:37 +0000 (01:41 +0000)
commit81bbf631d5f0844f1cb45801bc1ed35924e51561
tree8e642d77dc7403a0da247193fb7675ecbd8ca03f
parent3245b4ee99d26c6da024bd581c16c8ad7843b1f7
ext/alsa/gstalsa.c: cast to GstClockTime to get higher granularity

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_samples_to_timestamp):
cast to GstClockTime to get higher granularity
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
use gst_element_set_time_delay to get the exact time
* ext/mad/gstmad.c: (gst_mad_chain):
use the negotiated rate instead of the current frame's rate which
might be wrong because of bit errors. This avoids emitting totally
bogus timestamps and screwing sync.
(fixes #143454)
ChangeLog
ext/mad/gstmad.c