Commit 3a0b6ebc authored by Edward Hervey's avatar Edward Hervey
Browse files

gst-libs/gst/riff/riff-media.c: Add Truespeech mapping for RIFF formats (AVI/WAV).

Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Add Truespeech mapping for RIFF formats (AVI/WAV).
Fixes #550656
parent ec6afbd3
2008-09-03 Edward Hervey <edward.hervey@collabora.co.uk>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),
(gst_riff_create_audio_template_caps):
Add Truespeech mapping for RIFF formats (AVI/WAV).
Fixes #550656
2008-09-03 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
 
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
......@@ -1048,6 +1048,14 @@ gst_riff_create_audio_caps (guint16 codec_id,
block_align = TRUE;
break;
case GST_RIFF_WAVE_FORMAT_DSP_TRUESPEECH:
rate_min = 8000;
rate_max = 8000;
caps = gst_caps_new_simple ("audio/x-gst_ff-truespeech", NULL);
if (codec_name)
*codec_name = g_strdup ("DSP Group TrueSpeech");
break;
case GST_RIFF_WAVE_FORMAT_GSM610:
case GST_RIFF_WAVE_FORMAT_MSN:
rate_min = 1;
......@@ -1541,6 +1549,7 @@ gst_riff_create_audio_template_caps (void)
GST_RIFF_WAVE_FORMAT_WMS,
GST_RIFF_WAVE_FORMAT_ADPCM,
GST_RIFF_WAVE_FORMAT_DVI_ADPCM,
GST_RIFF_WAVE_FORMAT_DSP_TRUESPEECH,
GST_RIFF_WAVE_FORMAT_WMAV1,
GST_RIFF_WAVE_FORMAT_WMAV2,
GST_RIFF_WAVE_FORMAT_WMAV3,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment