From: Evan Nemerson Date: Sat, 12 Oct 2013 03:38:10 +0000 (-0700) Subject: gstreamer-video-1.0: make Info.finfo field nullable X-Git-Tag: 0.22.1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36f20c7ffbe18c3381299746619d1dc501f03ac0;p=thirdparty%2Fvala.git gstreamer-video-1.0: make Info.finfo field nullable Fixes bug 709558. --- diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi index ed00c3a54..b3ddd30fe 100644 --- a/vapi/gstreamer-video-1.0.vapi +++ b/vapi/gstreamer-video-1.0.vapi @@ -384,7 +384,7 @@ namespace Gst { [CCode (cheader_filename = "gst/video/colorbalance.h,gst/video/colorbalancechannel.h,gst/video/gstvideodecoder.h,gst/video/gstvideoencoder.h,gst/video/gstvideofilter.h,gst/video/gstvideometa.h,gst/video/gstvideopool.h,gst/video/gstvideosink.h,gst/video/gstvideoutils.h,gst/video/navigation.h,gst/video/video-blend.h,gst/video/video-color.h,gst/video/video-enumtypes.h,gst/video/video-event.h,gst/video/video-format.h,gst/video/video-frame.h,gst/video/video-info.h,gst/video/video-overlay-composition.h,gst/video/video.h,gst/video/videoorientation.h,gst/video/videooverlay.h", has_type_id = false)] [GIR (name = "VideoInfo")] public struct Info { - public Gst.Video.FormatInfo finfo; + public Gst.Video.FormatInfo? finfo; public Gst.Video.InterlaceMode interlace_mode; public Gst.Video.Flags flags; public int width; diff --git a/vapi/metadata/GstVideo-1.0.metadata b/vapi/metadata/GstVideo-1.0.metadata index 6c0ede5d0..eb842bc8b 100644 --- a/vapi/metadata/GstVideo-1.0.metadata +++ b/vapi/metadata/GstVideo-1.0.metadata @@ -21,3 +21,6 @@ VideoOverlayRectangle base_type="Gst.MiniObject" // Bug #685833 VideoCodecFrame .abidata skip + +VideoInfo + .finfo nullable unowned=false