diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-02 15:59:09 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-01-02 15:59:09 +0100 |
commit | 8a9a0bf6da80960215b7041e5265ae5c1a4a4d1a (patch) | |
tree | d6c442f408f68b6ac7e061086db8d6a9f90a017e | |
parent | 65aaa66f3522f6c3e0e5c15b754bba1d95155769 (diff) |
audioresample: truncate in fixation
-rw-r--r-- | gst/audioresample/gstaudioresample.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index 67cc05d69..a74acc436 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); } |