aboutsummaryrefslogtreecommitdiff
path: root/plugins/rtp
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2023-03-20 15:01:23 -0600
committerMarvin W <git@larma.de>2023-03-20 15:53:53 -0600
commitcb10110c57d569d8a9dfc85d1bec03ff38ef8172 (patch)
tree951889925f0d66b036813288dd1c93bf4acac19b /plugins/rtp
parent748d507a3e3dd236a72bae4d76d0a6c3f557db1d (diff)
downloaddino-cb10110c57d569d8a9dfc85d1bec03ff38ef8172.tar.gz
dino-cb10110c57d569d8a9dfc85d1bec03ff38ef8172.zip
Fix C binding for gst_video_frame_get_data
Fixes #1267
Diffstat (limited to 'plugins/rtp')
-rw-r--r--plugins/rtp/src/video_widget.vala1
1 files changed, 1 insertions, 0 deletions
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 {