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.
This commit is contained in:
Jan Schmidt 2007-05-22 11:40:31 +00:00
parent cfc4403058
commit bec7949e8e
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-05-22 Jan Schmidt <thaytan@mad.scientist.com>
* 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 <thaytan@mad.scientist.com>
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):

View file

@ -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);