From ee6c8bd498191c78bcfd3529a067ace462d31a6e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 8 Jun 2012 10:11:46 +0200 Subject: [PATCH] update for audio api changes --- ext/ffmpeg/gstffmpegcodecmap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index 4c2727a237..6d03e73183 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -339,7 +339,8 @@ gst_ff_aud_caps_new (AVCodecContext * context, enum CodecID codec_id, if (gst_ffmpeg_channel_layout_to_gst (context, pos)) { guint64 mask; - if (gst_audio_channel_positions_to_mask (pos, context->channels, &mask)) { + if (gst_audio_channel_positions_to_mask (pos, context->channels, FALSE, + &mask)) { gst_caps_set_simple (caps, "channel-mask", GST_TYPE_BITMASK, mask, NULL); }