]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-1.0: Backport some fixes from gstreamer 1.5/1.6 git
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 20 Mar 2015 19:12:38 +0000 (20:12 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 20 Mar 2015 19:12:38 +0000 (20:12 +0100)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-pbutils-1.0.vapi
vapi/gstreamer-video-1.0.vapi
vapi/metadata/Gst-1.0.metadata
vapi/metadata/GstPbutils-1.0.metadata
vapi/metadata/GstVideo-1.0.metadata

index 2f3dfeb2677b07ef0e3c4f6333cf8bd4a8efdac4..e4f539cdeaf000a77b31a038f21cfdf32cfbf1ca 100644 (file)
@@ -3144,11 +3144,11 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
        public delegate bool PadActivateModeFunction (Gst.Pad pad, Gst.Object parent, Gst.PadMode mode, bool active);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
-       public delegate Gst.FlowReturn PadChainFunction (Gst.Pad pad, Gst.Object? parent, Gst.Buffer buffer);
+       public delegate Gst.FlowReturn PadChainFunction (Gst.Pad pad, Gst.Object? parent, owned Gst.Buffer buffer);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
-       public delegate Gst.FlowReturn PadChainListFunction (Gst.Pad pad, Gst.Object? parent, Gst.BufferList list);
+       public delegate Gst.FlowReturn PadChainListFunction (Gst.Pad pad, Gst.Object? parent, owned Gst.BufferList list);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
-       public delegate bool PadEventFunction (Gst.Pad pad, Gst.Object? parent, Gst.Event event);
+       public delegate bool PadEventFunction (Gst.Pad pad, Gst.Object? parent, owned Gst.Event event);
        [CCode (cheader_filename = "gst/gst.h", instance_pos = 1.9)]
        public delegate bool PadForwardFunction (Gst.Pad pad);
        [CCode (cheader_filename = "gst/gst.h", has_target = false)]
index dd211cf2256bf1338eefcbc8395c9bf50ce1849d..8140c7b068bade47019f97df866c2f71e1842b72 100644 (file)
@@ -82,7 +82,7 @@ namespace Gst {
                        [Deprecated]
                        public unowned Gst.Structure get_misc ();
                        [CCode (array_length = false, array_null_terminated = true)]
-                       public string[] get_missing_elements_installer_details ();
+                       public unowned string[] get_missing_elements_installer_details ();
                        public Gst.PbUtils.DiscovererResult get_result ();
                        public bool get_seekable ();
                        public Gst.PbUtils.DiscovererStreamInfo get_stream_info ();
index b09e609a4e352ed46f47602b9e47eb27322cbc3d..82dce6208b9fd7c019c254ef407670ac9e826347 100644 (file)
@@ -851,7 +851,7 @@ namespace Gst {
                [CCode (cheader_filename = "gst/video/video.h")]
                public static bool blend (Gst.Video.Frame dest, Gst.Video.Frame src, int x, int y, float global_alpha);
                [CCode (cheader_filename = "gst/video/video.h")]
-               public static void blend_scale_linear_RGBA (Gst.Video.Info src, Gst.Buffer src_buffer, int dest_height, int dest_width, Gst.Video.Info dest, Gst.Buffer dest_buffer);
+               public static void blend_scale_linear_RGBA (Gst.Video.Info src, Gst.Buffer src_buffer, int dest_height, int dest_width, out Gst.Video.Info dest, out Gst.Buffer dest_buffer);
                [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_pool_config_get_video_alignment")]
                public static bool buffer_pool_config_get_video_alignment (Gst.Structure config, Gst.Video.Alignment align);
                [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_pool_config_set_video_alignment")]
index edac5467b4f4635d0d6fdd18277372b6f4bc053f..2b59f052eb44b5725b186beda788a3bb7353cbc8 100644 (file)
@@ -220,5 +220,10 @@ Structure.new_from_string skip
 // Upstream
 ///////////
 
+// Upstream backports from 1.5/1.6
+PadChainFunction.buffer owned
+PadChainListFunction.list owned
+PadEventFunction.event owned
+
 // Bug #730957:
 ElementFactory.get_metadata_keys nullable
index 3042a1255ba276628dfd25d5a7775f27c8cb0bce..453b986c5cf95e3dd0244a5acfaf063590841da9 100644 (file)
@@ -6,3 +6,7 @@ pb_utils_* name="pb_utils_(.+)"
 codec_utils_aac_* parent="Gst.PbUtils.Codec.AAC" name="codec_utils_aac_(.+)"
 codec_utils_h264_* parent="Gst.PbUtils.Codec.H264" name="codec_utils_h264_(.+)"
 codec_utils_mpeg4video_* parent="Gst.PbUtils.Codec.MPEG4Video" name="codec_utils_mpeg4video_(.+)"
+
+// Upstream backports from 1.5/1.6
+DiscovererInfo
+  .get_missing_elements_installer_details unowned
index ce0d95696e352c588fc507cf02850fe95531f328..62b130f18a172472aeb3f3a3244f0cef81ecd773 100644 (file)
@@ -26,4 +26,8 @@ VideoInfo
   .finfo nullable
 
 VideoChromaResample skip
-video_chroma_resample skip
\ No newline at end of file
+video_chroma_resample skip
+
+// Upstream backports from 1.5/1.6
+video_blend_scale_linear_RGBA.dest out
+video_blend_scale_linear_RGBA.dest_buffer out unowned=false