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.
This commit is contained in:
Edward Hervey 2008-09-03 14:00:06 +00:00
parent 3a0b6ebcfb
commit 21952ab09a
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2008-09-03 Edward Hervey <edward.hervey@collabora.co.uk>
* 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 <edward.hervey@collabora.co.uk>
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps),

View file

@ -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;