From 9d56bf7712eea747bebc52dc9aa34455e08fca40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 31 Dec 2011 13:47:57 +0100 Subject: [PATCH] audioencoder: Proxy the channel mask field instead of the old channel-layout field --- gst-libs/gst/audio/gstaudioencoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/audio/gstaudioencoder.c b/gst-libs/gst/audio/gstaudioencoder.c index d4c387a..71af26b 100644 --- a/gst-libs/gst/audio/gstaudioencoder.c +++ b/gst-libs/gst/audio/gstaudioencoder.c @@ -1205,8 +1205,8 @@ gst_audio_encoder_proxy_getcaps (GstAudioEncoder * enc, GstCaps * caps) gst_structure_set_value (s, "endianness", val); if ((val = gst_structure_get_value (allowed_s, "signed"))) gst_structure_set_value (s, "signed", val); - if ((val = gst_structure_get_value (allowed_s, "channel-positions"))) - gst_structure_set_value (s, "channel-positions", val); + if ((val = gst_structure_get_value (allowed_s, "channel-mask"))) + gst_structure_set_value (s, "channel-mask", val); gst_caps_merge_structure (filter_caps, s); } -- 2.7.4