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)
commit8796e7b16006f32156734f5cc12a6aa90b5d8109
tree60626d1dc268ea9a28d51297d1cc76ef9af12ed3
parent4eb15b5efcf71e65f4af7d0eed4cb435baf9a18a
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