Commit f7f2c13e authored by Wim Taymans's avatar Wim Taymans
Browse files

update for miniobject changes

parent 676375ec
......@@ -337,7 +337,7 @@ gst_video_overlay_composition_new (GstVideoOverlayRectangle * rectangle)
comp = (GstVideoOverlayComposition *) g_slice_new0 (GstVideoOverlayRectangle);
gst_mini_object_init (GST_MINI_OBJECT_CAST (comp),
gst_mini_object_init (GST_MINI_OBJECT_CAST (comp), 0,
GST_TYPE_VIDEO_OVERLAY_COMPOSITION,
(GstMiniObjectCopyFunction) gst_video_overlay_composition_copy,
NULL, (GstMiniObjectFreeFunction) gst_video_overlay_composition_free);
......@@ -708,7 +708,7 @@ gst_video_overlay_rectangle_new_argb (GstBuffer * pixels,
rect = (GstVideoOverlayRectangle *) g_slice_new0 (GstVideoOverlayRectangle);
gst_mini_object_init (GST_MINI_OBJECT_CAST (rect),
gst_mini_object_init (GST_MINI_OBJECT_CAST (rect), 0,
GST_TYPE_VIDEO_OVERLAY_RECTANGLE,
(GstMiniObjectCopyFunction) gst_video_overlay_rectangle_copy,
NULL, (GstMiniObjectFreeFunction) gst_video_overlay_rectangle_free);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment