mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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
This commit is contained in:
parent
ec6afbd321
commit
3a0b6ebcfb
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
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>
|
2008-09-03 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
|
||||||
|
|
||||||
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
|
* gst/typefind/gsttypefindfunctions.c: (plugin_init):
|
||||||
|
|
|
@ -1048,6 +1048,14 @@ gst_riff_create_audio_caps (guint16 codec_id,
|
||||||
block_align = TRUE;
|
block_align = TRUE;
|
||||||
break;
|
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_GSM610:
|
||||||
case GST_RIFF_WAVE_FORMAT_MSN:
|
case GST_RIFF_WAVE_FORMAT_MSN:
|
||||||
rate_min = 1;
|
rate_min = 1;
|
||||||
|
@ -1541,6 +1549,7 @@ gst_riff_create_audio_template_caps (void)
|
||||||
GST_RIFF_WAVE_FORMAT_WMS,
|
GST_RIFF_WAVE_FORMAT_WMS,
|
||||||
GST_RIFF_WAVE_FORMAT_ADPCM,
|
GST_RIFF_WAVE_FORMAT_ADPCM,
|
||||||
GST_RIFF_WAVE_FORMAT_DVI_ADPCM,
|
GST_RIFF_WAVE_FORMAT_DVI_ADPCM,
|
||||||
|
GST_RIFF_WAVE_FORMAT_DSP_TRUESPEECH,
|
||||||
GST_RIFF_WAVE_FORMAT_WMAV1,
|
GST_RIFF_WAVE_FORMAT_WMAV1,
|
||||||
GST_RIFF_WAVE_FORMAT_WMAV2,
|
GST_RIFF_WAVE_FORMAT_WMAV2,
|
||||||
GST_RIFF_WAVE_FORMAT_WMAV3,
|
GST_RIFF_WAVE_FORMAT_WMAV3,
|
||||||
|
|
Loading…
Reference in a new issue