mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
gstffmpegcodecmap: Add mapping for Windows Media Speech
This commit is contained in:
parent
210a066205
commit
9c497b6010
1 changed files with 9 additions and 0 deletions
|
@ -846,6 +846,12 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case CODEC_ID_WMAVOICE:
|
||||||
|
{
|
||||||
|
caps = gst_ff_aud_caps_new (context, codec_id, "audio/x-wms", NULL);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case CODEC_ID_MACE3:
|
case CODEC_ID_MACE3:
|
||||||
case CODEC_ID_MACE6:
|
case CODEC_ID_MACE6:
|
||||||
{
|
{
|
||||||
|
@ -2868,6 +2874,9 @@ gst_ffmpeg_caps_to_codecid (const GstCaps * caps, AVCodecContext * context)
|
||||||
}
|
}
|
||||||
if (id != CODEC_ID_NONE)
|
if (id != CODEC_ID_NONE)
|
||||||
audio = TRUE;
|
audio = TRUE;
|
||||||
|
} else if (!strcmp (mimetype, "audio/x-wms")) {
|
||||||
|
id = CODEC_ID_WMAVOICE;
|
||||||
|
audio = TRUE;
|
||||||
} else if (!strcmp (mimetype, "audio/x-ac3")) {
|
} else if (!strcmp (mimetype, "audio/x-ac3")) {
|
||||||
id = CODEC_ID_AC3;
|
id = CODEC_ID_AC3;
|
||||||
audio = TRUE;
|
audio = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue