From c77e13b9b389df893f6b1e7ae8e488d7ead8ce5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Mon, 26 Sep 2016 20:06:54 -0400 Subject: avcodecmap: Enable 24 bit WMA Lossless decoding This now works with not so recent ffmpeg. Part-of: --- ext/libav/gstavcodecmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext') 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: -- cgit v1.2.1