Fix C binding for gst_video_frame_get_data

Fixes #1267
This commit is contained in:
Marvin W 2023-03-20 15:01:23 -06:00
parent 503de303d7
commit acf9c69470
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A

View file

@ -1,4 +1,5 @@
private static extern unowned Gst.Video.Info gst_video_frame_get_video_info(Gst.Video.Frame frame); 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); private static extern unowned uint8[] gst_video_frame_get_data(Gst.Video.Frame frame);
public class Dino.Plugins.Rtp.Paintable : Gdk.Paintable, Object { public class Dino.Plugins.Rtp.Paintable : Gdk.Paintable, Object {