- (GstCaps *)fixate:(GstCaps *)new_caps
{
GstGLContext *context;
+ GstStructure *structure;
new_caps = gst_caps_make_writable (new_caps);
else
gst_object_unref (context);
+ new_caps = gst_caps_truncate (new_caps);
+ structure = gst_caps_get_structure (new_caps, 0);
+ /* crank up to 11. This is what the presets do, but we don't use the presets
+ * in ios >= 7.0 */
+ gst_structure_fixate_field_nearest_int (structure, "height", G_MAXINT);
+ gst_structure_fixate_field_nearest_fraction (structure, "framerate", G_MAXINT, 1);
+
return gst_caps_fixate (new_caps);
}