gst-libs/gst/riff/riff-media.c: ms-gsm can have arbitrarty sample rates. See #481354.

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
ms-gsm can have arbitrarty sample rates. See #481354.
This commit is contained in:
Wim Taymans 2008-03-31 16:08:45 +00:00
parent 9ac953ef0f
commit 4b7e9b70f7
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-03-31 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
ms-gsm can have arbitrarty sample rates. See #481354.
2008-03-28 Wim Taymans <wim.taymans@collabora.co.uk>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps):

View file

@ -1029,6 +1029,7 @@ gst_riff_create_audio_caps (guint16 codec_id,
case GST_RIFF_WAVE_FORMAT_GSM610:
case GST_RIFF_WAVE_FORMAT_MSN:
rate_min = 1;
caps = gst_caps_new_simple ("audio/ms-gsm", NULL);
if (codec_name)
*codec_name = g_strdup ("MS GSM audio");