textrender: actually fixate output caps when fixating output caps
authorTim-Philipp Müller <tim@centricular.net>
Thu, 2 May 2013 22:41:02 +0000 (23:41 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 2 May 2013 22:41:02 +0000 (23:41 +0100)
ext/pango/gsttextrender.c

index 8e08712..853e7e3 100644 (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;