diff --git a/ChangeLog b/ChangeLog index ef0c8de40a..5b2b8eeb32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-10 Tim-Philipp Müller + + * gst/audioconvert/gstaudioconvert.c: (make_lossless_changes): + Float caps shouldn't have a "signed" field. + 2006-08-10 Tim-Philipp Müller * ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query): diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index 4dc8467d65..67f78724bd 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -324,9 +324,10 @@ static GstStructure * make_lossless_changes (GstStructure * s, gboolean isfloat) { if (isfloat) { - /* float doesn't have depth, and only supports width 32, and native-endian - */ + /* float doesn't have a depth or signedness field and only supports a + * width of 32 and native endianness */ gst_structure_remove_field (s, "depth"); + gst_structure_remove_field (s, "signed"); gst_structure_set (s, "width", G_TYPE_INT, 32, NULL); gst_structure_set (s, "endianness", G_TYPE_INT, G_BYTE_ORDER, NULL); } else {