From bec7949e8e1ef5eea52d24ade15c262ff014dd25 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 22 May 2007 11:40:31 +0000 Subject: [PATCH] gst-libs/gst/riff/riff-media.c: Specify the full valid range for MP3 samplerates. Fixes a regression caused by extra ... Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): Specify the full valid range for MP3 samplerates. Fixes a regression caused by extra header checks since the last release. --- ChangeLog | 6 ++++++ gst-libs/gst/riff/riff-media.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 23ec475ad7..67214f8283 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-05-22 Jan Schmidt + + * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): + Specify the full valid range for MP3 samplerates. Fixes a regression + caused by extra header checks since the last release. + 2007-05-21 Jan Schmidt * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents): diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 2f10d53c35..43cd39f946 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -970,7 +970,7 @@ gst_riff_create_audio_caps (guint16 codec_id, break; case GST_RIFF_WAVE_FORMAT_MPEGL3: /* mp3 */ - rate_min = 16000; + rate_min = 8000; rate_max = 48000; caps = gst_caps_new_simple ("audio/mpeg", "mpegversion", G_TYPE_INT, 1, "layer", G_TYPE_INT, 3, NULL);