]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer-0.10: Fix Element.request_pad
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 25 Nov 2012 20:09:19 +0000 (21:09 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 25 Nov 2012 20:09:19 +0000 (21:09 +0100)
Based on patch by Marcin Lewandowski.

Fixes bug 682208.

vapi/gstreamer-0.10.vapi
vapi/gstreamer-rtsp-server-1.0.vapi
vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata

index 466d36b5f8180674f4e54e634da40b294dfd365d..d7d4b3ee0a73cd1d557f7cc8e3ca3f87796316de 100644 (file)
@@ -472,7 +472,7 @@ namespace Gst {
                public virtual unowned Gst.Pad request_new_pad (Gst.PadTemplate templ, string? name);
                [NoWrapper]
                public virtual unowned Gst.Pad request_new_pad_full (Gst.PadTemplate templ, string name, Gst.Caps caps);
-               public unowned Gst.Pad request_pad (Gst.PadTemplate templ, string name, Gst.Caps caps);
+               public Gst.Pad? request_pad (Gst.PadTemplate templ, string? name, Gst.Caps? caps);
                public bool requires_clock ();
                public bool seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType cur_type, int64 cur, Gst.SeekType stop_type, int64 stop);
                public bool seek_simple (Gst.Format format, Gst.SeekFlags seek_flags, int64 seek_pos);
@@ -2302,9 +2302,9 @@ namespace Gst {
                [CCode (cname = "GST_STATE_TRANSITION")]
                public static Gst.StateChange transition (Gst.State cur, Gst.State next);
                [CCode (cname = "GST_STATE_TRANSITION_CURRENT")]
-               public static Gst.State transition_current ();
+               public Gst.State transition_current ();
                [CCode (cname = "GST_STATE_TRANSITION_NEXT")]
-               public static Gst.State transition_next ();
+               public Gst.State transition_next ();
        }
        [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STATE_CHANGE_")]
        public enum StateChangeReturn {
index 46c58d6041f64fdeb20f3f743c2f406787d0205e..a0a3cb1a804fb844b67750de214b709a454c2388 100644 (file)
@@ -1,4 +1,4 @@
-/* gstreamer-rtsp-server-1.0.vapi generated by lt-vapigen, do not modify. */
+/* gstreamer-rtsp-server-1.0.vapi generated by vapigen, do not modify. */
 
 [CCode (cprefix = "Gst", gir_namespace = "GstRtspServer", gir_version = "1.0", lower_case_cprefix = "gst_")]
 namespace Gst {
index 60a4290772675486788e1719afbf6863f775bb62..75367176232f8981e72d72cf6d55f3612ca01b45 100644 (file)
@@ -141,6 +141,9 @@ gst_element_make_from_uri hidden="1"
 gst_element_get_static_pad transfer_ownership="1" nullable="1"
 gst_element_get_pad transfer_ownership="1" nullable="1"
 gst_element_get_request_pad transfer_ownership="1" nullable="1"
+gst_element_request_pad transfer_ownership="1" nullable="1"
+gst_element_request_pad.name nullable="1"
+gst_element_request_pad.caps nullable="1"
 gst_element_get_compatible_pad transfer_ownership="1" nullable="1"
 gst_element_get_compatible_pad_template nullable="1"
 gst_element_class_get_pad_template nullable="1"