mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
codecmap: add mapping for WMA Lossless
Only 16 bits is supported for now though.
This commit is contained in:
parent
127202d6f6
commit
4dd36df4f7
1 changed files with 8 additions and 1 deletions
|
@ -1096,7 +1096,14 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
|||
"wmaversion", G_TYPE_INT, 3, NULL);
|
||||
break;
|
||||
}
|
||||
|
||||
case AV_CODEC_ID_WMALOSSLESS:
|
||||
{
|
||||
/* libav only supports a depth of 16 at the moment */
|
||||
caps =
|
||||
gst_ff_aud_caps_new (context, NULL, codec_id, encode, "audio/x-wma",
|
||||
"wmaversion", G_TYPE_INT, 4, "depth", G_TYPE_INT, 16, NULL);
|
||||
break;
|
||||
}
|
||||
case CODEC_ID_WMAVOICE:
|
||||
{
|
||||
caps =
|
||||
|
|
Loading…
Reference in a new issue