audioconvert: truncate caps in _fixate
Otherwise the resulting caps may not be fixed.
This commit is contained in:
parent
67f6f64d88
commit
7ca4b51b01
@ -548,6 +548,8 @@ gst_audio_convert_fixate_caps (GstBaseTransform * base,
|
|||||||
gst_structure_fixate_field_nearest_int (outs, "rate", rate);
|
gst_structure_fixate_field_nearest_int (outs, "rate", rate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_caps_truncate (othercaps);
|
||||||
GST_DEBUG_OBJECT (base, "fixated othercaps to %" GST_PTR_FORMAT, othercaps);
|
GST_DEBUG_OBJECT (base, "fixated othercaps to %" GST_PTR_FORMAT, othercaps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user