From 3bf1b5ecf7b77fb3283236ed46159cd9aa6c3f2d Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 13 Apr 2007 08:19:35 +0000 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ gst/wavparse/gstwavparse.c | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b5f3e52f..bc568f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,13 @@ * 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. + +2007-04-13 Stefan Kost + + * gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int), + (gst_wavparse_perform_seek), (gst_wavparse_stream_headers), + (gst_wavparse_stream_data): * gst/wavparse/gstwavparse.h: More sanity check for the header fields. Fix type for 'rate' header field. diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index a1d1111..7097b8e 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, " -- 2.7.4