diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 67cc05d697..a74acc436e 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -316,6 +316,7 @@ gst_audio_resample_fixate_caps (GstBaseTransform * base, if (G_UNLIKELY (!gst_structure_get_int (s, "rate", &rate))) return; + gst_caps_truncate (othercaps); s = gst_caps_get_structure (othercaps, 0); gst_structure_fixate_field_nearest_int (s, "rate", rate); }