From cb10110c57d569d8a9dfc85d1bec03ff38ef8172 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Mon, 20 Mar 2023 15:01:23 -0600 Subject: [PATCH] Fix C binding for gst_video_frame_get_data Fixes #1267 --- plugins/rtp/src/video_widget.vala | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/rtp/src/video_widget.vala b/plugins/rtp/src/video_widget.vala index af2a9f1d..0d66476b 100644 --- a/plugins/rtp/src/video_widget.vala +++ b/plugins/rtp/src/video_widget.vala @@ -1,4 +1,5 @@ private static extern unowned Gst.Video.Info gst_video_frame_get_video_info(Gst.Video.Frame frame); +[CCode (array_length_type = "size_t", type = "void*")] private static extern unowned uint8[] gst_video_frame_get_data(Gst.Video.Frame frame); public class Dino.Plugins.Rtp.Paintable : Gdk.Paintable, Object {