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)
commit2fa9ba3892298655d68cbc40f35c1abffe3abd81
treeec9153868902be1a4d0cabdad02e7776950ea344
parent835efb3382f1cbdf192ef71e1e38158af32ac6ca
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