audioconvert: truncate caps in _fixate

Otherwise the resulting caps may not be fixed.
This commit is contained in:
Vincent Penquerc'h 2011-11-10 14:24:30 +00:00
parent 67f6f64d88
commit 7ca4b51b01

View file

@ -548,6 +548,8 @@ gst_audio_convert_fixate_caps (GstBaseTransform * base,
gst_structure_fixate_field_nearest_int (outs, "rate", rate);
}
}
gst_caps_truncate (othercaps);
GST_DEBUG_OBJECT (base, "fixated othercaps to %" GST_PTR_FORMAT, othercaps);
}