audioconvert: We can handle channels conversion
authorEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 17 Oct 2011 10:28:58 +0000 (12:28 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 17 Oct 2011 10:28:58 +0000 (12:28 +0200)
gst/audioconvert/gstaudioconvert.c

index 6cf8775..afe23aa 100644 (file)
@@ -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);
   }