]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-video-1.0: make Info.finfo field nullable
authorEvan Nemerson <evan@coeus-group.com>
Sat, 12 Oct 2013 03:38:10 +0000 (20:38 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Sat, 12 Oct 2013 03:39:46 +0000 (20:39 -0700)
Fixes bug 709558.

vapi/gstreamer-video-1.0.vapi
vapi/metadata/GstVideo-1.0.metadata

index ed00c3a54b4604485ad628ba0451b34816048801..b3ddd30febcf81b412b8f1b75ed89e1d592e6148 100644 (file)
@@ -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;
index 6c0ede5d06c982ca29e70145c56378c47080cc32..eb842bc8b0373faa728c014d646399da02fdf523 100644 (file)
@@ -21,3 +21,6 @@ VideoOverlayRectangle base_type="Gst.MiniObject"
 // Bug #685833
 VideoCodecFrame
   .abidata skip
+
+VideoInfo
+  .finfo nullable unowned=false