textrender: actually fixate output caps when fixating output caps

This commit is contained in:
Tim-Philipp Müller 2013-05-02 23:41:02 +01:00
parent 47cbbe6514
commit f9befdecfe

View file

@ -391,6 +391,7 @@ gst_text_render_fixate_caps (GstTextRender * render, GstCaps * caps)
DEFAULT_RENDER_WIDTH));
gst_structure_fixate_field_nearest_int (s, "height",
MAX (render->image_height + render->ypad, DEFAULT_RENDER_HEIGHT));
caps = gst_caps_fixate (caps);
GST_DEBUG ("Fixated to %" GST_PTR_FORMAT, caps);
return caps;