From 1c10fbcd3353c2eb698cd409bf0fbb0b7c9daed0 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 17 Oct 2011 12:28:58 +0200 Subject: [PATCH] audioconvert: We can handle channels conversion --- gst/audioconvert/gstaudioconvert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index 6cf8775733..afe23aaa29 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -288,7 +288,8 @@ gst_audio_convert_caps_remove_format_info (GstCaps * caps) continue; st = gst_structure_copy (st); - gst_structure_remove_fields (st, "format", "channel-positions", NULL); + gst_structure_remove_fields (st, "format", "channel-positions", "channels", + NULL); gst_caps_append_structure (res, st); }