From 3bf1b5ecf7b77fb3283236ed46159cd9aa6c3f2d Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 13 Apr 2007 08:19:35 +0000 Subject: gst/wavparse/gstwavparse.c: Relax the audio/mpeg caps again and add FIXME: comment. Original commit message from CVS: * gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int), (gst_wavparse_perform_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data): Relax the audio/mpeg caps again and add FIXME: comment. --- gst/wavparse/gstwavparse.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gst/wavparse') diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index a1d1111f..7097b8e4 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -109,7 +109,9 @@ static GstStaticPadTemplate src_template_factory = GST_STATIC_PAD_TEMPLATE ("wavparse_src", GST_PAD_SRC, GST_PAD_SOMETIMES, - /* FIXME: we need to sync this better with gst_riff_create_audio_caps() */ + /* FIXME: we need to sync this better with gst_riff_create_audio_caps() + * shouldn't we use: gst_riff_create_audio_template_caps() ? + */ GST_STATIC_CAPS ("audio/x-raw-int, " "endianness = (int) little_endian, " "signed = (boolean) true, " @@ -133,7 +135,7 @@ static GstStaticPadTemplate src_template_factory = "audio/mpeg, " "mpegversion = (int) 1, " "layer = (int) [ 1, 3 ], " - "rate = (int) [ 16000, 48000 ], " + "rate = (int) [ 8000, 48000 ], " "channels = (int) [ 1, 2 ]; " "audio/mpeg, " "mpegversion = (int) 4, " -- cgit