summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2016-09-26 20:06:54 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2020-09-09 15:25:41 -0400
commitc77e13b9b389df893f6b1e7ae8e488d7ead8ce5a (patch)
tree8dc25f6f7481ac91e940e6f053e8db760321ec0d /ext
parent59828fe523857fa15072ae7757c4cb94a79c3cf0 (diff)
downloadgst-libav-c77e13b9b389df893f6b1e7ae8e488d7ead8ce5a.tar.gz
avcodecmap: Enable 24 bit WMA Lossless decoding
This now works with not so recent ffmpeg. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/88>
Diffstat (limited to 'ext')
-rw-r--r--ext/libav/gstavcodecmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/libav/gstavcodecmap.c b/ext/libav/gstavcodecmap.c
index 16f1aba..4688530 100644
--- a/ext/libav/gstavcodecmap.c
+++ b/ext/libav/gstavcodecmap.c
@@ -1220,10 +1220,9 @@ gst_ffmpeg_codecid_to_caps (enum AVCodecID codec_id,
}
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);
+ "wmaversion", G_TYPE_INT, 4, NULL);
break;
}
case AV_CODEC_ID_WMAVOICE: