diff --git a/ChangeLog b/ChangeLog index c57143c0d7..c972c066bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-21 Sebastian Dröge + + * gst/adder/gstadder.c: + Adder also doesn't support audio/x-raw-int with width!=depth so don't + claim this on the pad template caps. + 2008-05-20 Wim Taymans * gst-libs/gst/audio/gstbaseaudiosink.c: diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index f6e239b93e..cad4f1ce37 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -77,8 +77,22 @@ GST_DEBUG_CATEGORY_STATIC (GST_CAT_DEFAULT); "rate = (int) [ 1, MAX ], " \ "channels = (int) [ 1, MAX ], " \ "endianness = (int) BYTE_ORDER, " \ - "width = (int) { 8, 16, 32 }, " \ - "depth = (int) [ 1, 32 ], " \ + "width = (int) 32, " \ + "depth = (int) 32, " \ + "signed = (boolean) { true, false } ;" \ + "audio/x-raw-int, " \ + "rate = (int) [ 1, MAX ], " \ + "channels = (int) [ 1, MAX ], " \ + "endianness = (int) BYTE_ORDER, " \ + "width = (int) 16, " \ + "depth = (int) 16, " \ + "signed = (boolean) { true, false } ;" \ + "audio/x-raw-int, " \ + "rate = (int) [ 1, MAX ], " \ + "channels = (int) [ 1, MAX ], " \ + "endianness = (int) BYTE_ORDER, " \ + "width = (int) 8, " \ + "depth = (int) 8, " \ "signed = (boolean) { true, false } ;" \ "audio/x-raw-float, " \ "rate = (int) [ 1, MAX ], " \