audioencoder: Proxy the channel mask field instead of the old channel-layout field

This commit is contained in:
Sebastian Dröge 2011-12-31 13:47:57 +01:00
parent 8fe5dc53e0
commit 9d56bf7712

View file

@ -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);
}