public Gst.PbUtils.EncodingProfile Copy()
        {
            IntPtr raw_ret = gst_encoding_profile_copy(Handle);

            Gst.PbUtils.EncodingProfile ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.EncodingProfile;
            return(ret);
        }
Example #2
0
        public bool AddEncodingProfile(Gst.PbUtils.EncodingProfile profile)
        {
            bool raw_ret = ges_project_add_encoding_profile(Handle, profile == null ? IntPtr.Zero : profile.Handle);
            bool ret     = raw_ret;

            return(ret);
        }
        public bool IsEqual(Gst.PbUtils.EncodingProfile b)
        {
            bool raw_ret = gst_encoding_profile_is_equal(Handle, b == null ? IntPtr.Zero : b.Handle);
            bool ret     = raw_ret;

            return(ret);
        }
        public static Gst.PbUtils.EncodingProfile FromDiscoverer(Gst.PbUtils.DiscovererInfo info)
        {
            IntPtr raw_ret = gst_encoding_profile_from_discoverer(info == null ? IntPtr.Zero : info.Handle);

            Gst.PbUtils.EncodingProfile ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.EncodingProfile;
            return(ret);
        }
Example #5
0
        public bool AddProfile(Gst.PbUtils.EncodingProfile profile)
        {
            bool raw_ret = gst_encoding_target_add_profile(Handle, profile == null ? IntPtr.Zero : profile.OwnedHandle);
            bool ret     = raw_ret;

            return(ret);
        }
        public bool ContainsProfile(Gst.PbUtils.EncodingProfile profile)
        {
            bool raw_ret = gst_encoding_container_profile_contains_profile(Handle, profile == null ? IntPtr.Zero : profile.Handle);
            bool ret     = raw_ret;

            return(ret);
        }
Example #7
0
        public Gst.PbUtils.EncodingProfile GetProfile(string name)
        {
            IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup(name);
            IntPtr raw_ret     = gst_encoding_target_get_profile(Handle, native_name);

            Gst.PbUtils.EncodingProfile ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.EncodingProfile;
            GLib.Marshaller.Free(native_name);
            return(ret);
        }
Example #8
0
        public bool SetRenderSettings(string output_uri, Gst.PbUtils.EncodingProfile profile)
        {
            IntPtr native_output_uri = GLib.Marshaller.StringToPtrGStrdup(output_uri);
            bool   raw_ret           = ges_pipeline_set_render_settings(Handle, native_output_uri, profile == null ? IntPtr.Zero : profile.Handle);
            bool   ret = raw_ret;

            GLib.Marshaller.Free(native_output_uri);
            return(ret);
        }
        public static Gst.PbUtils.EncodingProfile Find(string targetname, string profilename, string category)
        {
            IntPtr native_targetname  = GLib.Marshaller.StringToPtrGStrdup(targetname);
            IntPtr native_profilename = GLib.Marshaller.StringToPtrGStrdup(profilename);
            IntPtr native_category    = GLib.Marshaller.StringToPtrGStrdup(category);
            IntPtr raw_ret            = gst_encoding_profile_find(native_targetname, native_profilename, native_category);

            Gst.PbUtils.EncodingProfile ret = GLib.Object.GetObject(raw_ret, true) as Gst.PbUtils.EncodingProfile;
            GLib.Marshaller.Free(native_targetname);
            GLib.Marshaller.Free(native_profilename);
            GLib.Marshaller.Free(native_category);
            return(ret);
        }