diff options
author | Marvin W <git@larma.de> | 2023-03-20 15:01:23 -0600 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-03-20 15:53:53 -0600 |
commit | cb10110c57d569d8a9dfc85d1bec03ff38ef8172 (patch) | |
tree | 951889925f0d66b036813288dd1c93bf4acac19b | |
parent | 748d507a3e3dd236a72bae4d76d0a6c3f557db1d (diff) | |
download | dino-cb10110c57d569d8a9dfc85d1bec03ff38ef8172.tar.gz dino-cb10110c57d569d8a9dfc85d1bec03ff38ef8172.zip |
Fix C binding for gst_video_frame_get_data
Fixes #1267
-rw-r--r-- | plugins/rtp/src/video_widget.vala | 1 |
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 { |