From 21952ab09a57431687360f89170471dd3617f993 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 3 Sep 2008 14:00:06 +0000 Subject: [PATCH] gst-libs/gst/riff/riff-media.c: Use a decent caps for TrueSpeech instead of a ffmpeg-specific one. Original commit message from CVS: * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): Use a decent caps for TrueSpeech instead of a ffmpeg-specific one. This will also be fixed for upcoming gst-ffmpeg release so that once this release of -base is out, it will work with the latest gst-ffmpeg release. --- ChangeLog | 8 ++++++++ gst-libs/gst/riff/riff-media.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 340c053..e006b04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2008-09-03 Edward Hervey + * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): + Use a decent caps for TrueSpeech instead of a ffmpeg-specific one. + This will also be fixed for upcoming gst-ffmpeg release so that once + this release of -base is out, it will work with the latest gst-ffmpeg + release. + +2008-09-03 Edward Hervey + * 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). diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c index 1d95277..47ed1d1 100644 --- a/gst-libs/gst/riff/riff-media.c +++ b/gst-libs/gst/riff/riff-media.c @@ -1051,7 +1051,7 @@ gst_riff_create_audio_caps (guint16 codec_id, case GST_RIFF_WAVE_FORMAT_DSP_TRUESPEECH: rate_min = 8000; rate_max = 8000; - caps = gst_caps_new_simple ("audio/x-gst_ff-truespeech", NULL); + caps = gst_caps_new_simple ("audio/x-truespeech", NULL); if (codec_name) *codec_name = g_strdup ("DSP Group TrueSpeech"); break; -- 2.7.4