mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
update for miniobject changes
This commit is contained in:
parent
676375ecfe
commit
f7f2c13efc
1 changed files with 2 additions and 2 deletions
|
@ -337,7 +337,7 @@ gst_video_overlay_composition_new (GstVideoOverlayRectangle * rectangle)
|
||||||
|
|
||||||
comp = (GstVideoOverlayComposition *) g_slice_new0 (GstVideoOverlayRectangle);
|
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,
|
GST_TYPE_VIDEO_OVERLAY_COMPOSITION,
|
||||||
(GstMiniObjectCopyFunction) gst_video_overlay_composition_copy,
|
(GstMiniObjectCopyFunction) gst_video_overlay_composition_copy,
|
||||||
NULL, (GstMiniObjectFreeFunction) gst_video_overlay_composition_free);
|
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);
|
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,
|
GST_TYPE_VIDEO_OVERLAY_RECTANGLE,
|
||||||
(GstMiniObjectCopyFunction) gst_video_overlay_rectangle_copy,
|
(GstMiniObjectCopyFunction) gst_video_overlay_rectangle_copy,
|
||||||
NULL, (GstMiniObjectFreeFunction) gst_video_overlay_rectangle_free);
|
NULL, (GstMiniObjectFreeFunction) gst_video_overlay_rectangle_free);
|
||||||
|
|
Loading…
Reference in a new issue