From: Sebastian Pölsterl Date: Fri, 23 Jan 2009 20:03:53 +0000 (+0100) Subject: Marked values as nullable accordingly X-Git-Tag: 1.19.3~495^2~1609 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02711871d0e42479126454b23070c28f3f913ec1;p=platform%2Fupstream%2Fgstreamer.git Marked values as nullable accordingly --- diff --git a/bindings/vala/gst-rtsp-server-0.10.vapi b/bindings/vala/gst-rtsp-server-0.10.vapi index 38cba5a..af5804c 100644 --- a/bindings/vala/gst-rtsp-server-0.10.vapi +++ b/bindings/vala/gst-rtsp-server-0.10.vapi @@ -27,9 +27,9 @@ namespace Gst { } [CCode (cheader_filename = "gst/rtsp-server/rtsp-media-factory.h")] public class RTSPMediaFactory : GLib.Object { - public virtual Gst.RTSPMedia @construct (Gst.RTSPUrl url); + public virtual Gst.RTSPMedia? @construct (Gst.RTSPUrl url); [NoWrapper] - public virtual Gst.Element get_element (Gst.RTSPUrl url); + public virtual Gst.Element? get_element (Gst.RTSPUrl url); public string get_launch (); public bool is_shared (); [CCode (has_construct_function = false)] @@ -42,9 +42,9 @@ namespace Gst { public class RTSPMediaMapping : GLib.Object { public weak GLib.HashTable mappings; public void add_factory (string path, Gst.RTSPMediaFactory factory); - public Gst.RTSPMediaFactory find_factory (Gst.RTSPUrl url); + public Gst.RTSPMediaFactory? find_factory (Gst.RTSPUrl url); [NoWrapper] - public virtual Gst.RTSPMediaFactory find_media (Gst.RTSPUrl url); + public virtual Gst.RTSPMediaFactory? find_media (Gst.RTSPUrl url); [CCode (has_construct_function = false)] public RTSPMediaMapping (); public void remove_factory (string path); @@ -69,11 +69,11 @@ namespace Gst { public void* server_sin; public weak Gst.PollFD server_sock; [NoWrapper] - public virtual Gst.RTSPClient accept_client (GLib.IOChannel channel); - public uint attach (GLib.MainContext context); - public GLib.TimeoutSource create_watch (); + public virtual Gst.RTSPClient? accept_client (GLib.IOChannel channel); + public uint attach (GLib.MainContext? context); + public GLib.TimeoutSource? create_watch (); public int get_backlog (); - public GLib.IOChannel get_io_channel (); + public GLib.IOChannel? get_io_channel (); public Gst.RTSPMediaMapping get_media_mapping (); public int get_port (); public Gst.RTSPSessionPool get_session_pool (); @@ -121,7 +121,7 @@ namespace Gst { public Gst.RTSPSession create (); [NoWrapper] public virtual string create_session_id (); - public Gst.RTSPSession find (string sessionid); + public Gst.RTSPSession? find (string sessionid); [CCode (has_construct_function = false)] public RTSPSessionPool (); public void remove (Gst.RTSPSession sess); diff --git a/bindings/vala/packages/gst-rtsp-server-0.10.metadata b/bindings/vala/packages/gst-rtsp-server-0.10.metadata index 9de3162..bf7ed85 100644 --- a/bindings/vala/packages/gst-rtsp-server-0.10.metadata +++ b/bindings/vala/packages/gst-rtsp-server-0.10.metadata @@ -12,16 +12,17 @@ GstRTSPSessionStream cheader_filename="gst/rtsp-server/rtsp-session.h" gst_rtsp_client_get_media_mapping transfer_ownership="1" gst_rtsp_client_get_session_pool transfer_ownership="1" gst_rtsp_media_factory_get_launch transfer_ownership="1" -gst_rtsp_media_factory_construct transfer_ownership="1" -gst_rtsp_media_factory_get_element transfer_ownership="1" -gst_rtsp_media_mapping_find_factory transfer_ownership="1" -gst_rtsp_media_mapping_find_media transfer_ownership="1" -gst_rtsp_server_accept_client transfer_ownership="1" -gst_rtsp_server_create_watch transfer_ownership="1" -gst_rtsp_server_get_io_channel transfer_ownership="1" +gst_rtsp_media_factory_construct transfer_ownership="1" nullable="1" +gst_rtsp_media_factory_get_element transfer_ownership="1" nullable="1" +gst_rtsp_media_mapping_find_factory transfer_ownership="1" nullable="1" +gst_rtsp_media_mapping_find_media transfer_ownership="1" nullable="1" +gst_rtsp_server_accept_client transfer_ownership="1" nullable="1" +gst_rtsp_server_create_watch transfer_ownership="1" nullable="1" +gst_rtsp_server_get_io_channel transfer_ownership="1" nullable="1" gst_rtsp_server_get_media_mapping transfer_ownership="1" gst_rtsp_server_get_session_pool transfer_ownership="1" +gst_rtsp_server_attach.context nullable="1" gst_rtsp_session_pool_create transfer_ownership="1" gst_rtsp_session_pool_create_session_id transfer_ownership="1" -gst_rtsp_session_pool_find transfer_ownership="1" +gst_rtsp_session_pool_find transfer_ownership="1" nullable="1" gst_rtsp_session_stream_set_transport transfer_ownership="1"