[vala] gstreamer-video-1.0: make Info.finfo field nullable



commit 36f20c7ffbe18c3381299746619d1dc501f03ac0
Author: Evan Nemerson <evan coeus-group com>
Date:   Fri Oct 11 20:38:10 2013 -0700

    gstreamer-video-1.0: make Info.finfo field nullable
    
    Fixes bug 709558.

 vapi/gstreamer-video-1.0.vapi       |    2 +-
 vapi/metadata/GstVideo-1.0.metadata |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index ed00c3a..b3ddd30 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 6c0ede5..eb842bc 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]