mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
cfc4403058
commit
bec7949e8e
2 changed files with 7 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue