From 26e4a48271461a75832b2ceca1859d871a85375c Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 24 Jul 2006 13:40:56 +0000 Subject: gst/wavparse/gstwavparse.*: Use information from 'fact' chunk for length calculation of compressed samples. Calculate... Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_reset), (gst_wavparse_other), (gst_wavparse_perform_seek), (gst_wavparse_get_upstream_size), (gst_wavparse_stream_headers), (gst_wavparse_add_src_pad), (gst_wavparse_stream_data), (gst_wavparse_pad_query): * gst/wavparse/gstwavparse.h: Use information from 'fact' chunk for length calculation of compressed samples. Calculate bps if bogus value is found in wav header (embeded mp2/mp3). --- gst/wavparse/gstwavparse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/wavparse/gstwavparse.h') diff --git a/gst/wavparse/gstwavparse.h b/gst/wavparse/gstwavparse.h index a8c88d6d..b0a4dad6 100644 --- a/gst/wavparse/gstwavparse.h +++ b/gst/wavparse/gstwavparse.h @@ -81,6 +81,7 @@ struct _GstWavParse { guint16 blockalign; guint16 width; guint32 bps; + guint32 fact; guint bytes_per_sample; -- cgit