summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2007-04-13 08:19:35 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2007-04-13 08:19:35 +0000
commit3bf1b5ecf7b77fb3283236ed46159cd9aa6c3f2d (patch)
treec6260e0813d76320d426e9102070c640684cb46f
parent0722106b57ccd923ab0cbb710506431699655dbe (diff)
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.
-rw-r--r--ChangeLog7
-rw-r--r--gst/wavparse/gstwavparse.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b5f3e52f..bc568f4c 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 <ensonic@users.sf.net>
+
+ * 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 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, "