mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
audioconvert: truncate caps in _fixate
Otherwise the resulting caps may not be fixed.
This commit is contained in:
parent
67f6f64d88
commit
7ca4b51b01
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue