Class Plugin
public class Plugin
- Inheritance
-
Plugin
- Inherited Members
Methods
AddDependency(IntPtr, Utf8StringArrayNullTerminatedHandle, Utf8StringArrayNullTerminatedHandle, Utf8StringArrayNullTerminatedHandle, PluginDependencyFlags)
Calls native method gst_plugin_add_dependency.
public static extern void AddDependency(IntPtr plugin, Utf8StringArrayNullTerminatedHandle envVars, Utf8StringArrayNullTerminatedHandle paths, Utf8StringArrayNullTerminatedHandle names, PluginDependencyFlags flags)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
envVars
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
paths
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
names
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
flags
PluginDependencyFlagsTransfer ownership: None Nullable: False
AddDependencySimple(IntPtr, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, PluginDependencyFlags)
Calls native method gst_plugin_add_dependency_simple.
public static extern void AddDependencySimple(IntPtr plugin, NullableUtf8StringHandle envVars, NullableUtf8StringHandle paths, NullableUtf8StringHandle names, PluginDependencyFlags flags)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
envVars
NullableUtf8StringHandleTransfer ownership: None Nullable: True
paths
NullableUtf8StringHandleTransfer ownership: None Nullable: True
names
NullableUtf8StringHandleTransfer ownership: None Nullable: True
flags
PluginDependencyFlagsTransfer ownership: None Nullable: False
GetCacheData(IntPtr)
Calls native method gst_plugin_get_cache_data.
public static extern StructureUnownedHandle GetCacheData(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- StructureUnownedHandle
Transfer ownership: None Nullable: True
GetDescription(IntPtr)
Calls native method gst_plugin_get_description.
public static extern NonNullableUtf8StringUnownedHandle GetDescription(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetFilename(IntPtr)
Calls native method gst_plugin_get_filename.
public static extern NullablePlatformStringUnownedHandle GetFilename(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NullablePlatformStringUnownedHandle
Transfer ownership: None Nullable: True
GetGType()
Calls native function gst_plugin_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetLicense(IntPtr)
Calls native method gst_plugin_get_license.
public static extern NonNullableUtf8StringUnownedHandle GetLicense(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetName(IntPtr)
Calls native method gst_plugin_get_name.
public static extern NonNullableUtf8StringUnownedHandle GetName(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetOrigin(IntPtr)
Calls native method gst_plugin_get_origin.
public static extern NonNullableUtf8StringUnownedHandle GetOrigin(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetPackage(IntPtr)
Calls native method gst_plugin_get_package.
public static extern NonNullableUtf8StringUnownedHandle GetPackage(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetReleaseDateString(IntPtr)
Calls native method gst_plugin_get_release_date_string.
public static extern NullableUtf8StringUnownedHandle GetReleaseDateString(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetSource(IntPtr)
Calls native method gst_plugin_get_source.
public static extern NonNullableUtf8StringUnownedHandle GetSource(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetVersion(IntPtr)
Calls native method gst_plugin_get_version.
public static extern NonNullableUtf8StringUnownedHandle GetVersion(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
IsLoaded(IntPtr)
Calls native method gst_plugin_is_loaded.
public static extern bool IsLoaded(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Load(IntPtr)
Calls native method gst_plugin_load.
public static extern IntPtr Load(IntPtr plugin)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
LoadByName(NonNullableUtf8StringHandle)
Calls native function gst_plugin_load_by_name.
public static extern IntPtr LoadByName(NonNullableUtf8StringHandle name)
Parameters
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: True
LoadFile(NonNullablePlatformStringHandle, out ErrorOwnedHandle)
Calls native function gst_plugin_load_file.
public static extern IntPtr LoadFile(NonNullablePlatformStringHandle filename, out ErrorOwnedHandle error)
Parameters
filename
NonNullablePlatformStringHandleTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RegisterStatic(int, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, PluginInitFunc, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native function gst_plugin_register_static.
public static extern bool RegisterStatic(int majorVersion, int minorVersion, NonNullableUtf8StringHandle name, NonNullableUtf8StringHandle description, PluginInitFunc initFunc, NonNullableUtf8StringHandle version, NonNullableUtf8StringHandle license, NonNullableUtf8StringHandle source, NonNullableUtf8StringHandle package, NonNullableUtf8StringHandle origin)
Parameters
majorVersion
intTransfer ownership: None Nullable: False
minorVersion
intTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
description
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
initFunc
PluginInitFuncTransfer ownership: None Nullable: False
version
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
license
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
source
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
package
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
origin
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
RegisterStaticFull(int, int, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, PluginInitFullFunc, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, IntPtr)
Calls native function gst_plugin_register_static_full.
public static extern bool RegisterStaticFull(int majorVersion, int minorVersion, NonNullableUtf8StringHandle name, NonNullableUtf8StringHandle description, PluginInitFullFunc initFullFunc, NonNullableUtf8StringHandle version, NonNullableUtf8StringHandle license, NonNullableUtf8StringHandle source, NonNullableUtf8StringHandle package, NonNullableUtf8StringHandle origin, IntPtr userData)
Parameters
majorVersion
intTransfer ownership: None Nullable: False
minorVersion
intTransfer ownership: None Nullable: False
name
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
description
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
initFullFunc
PluginInitFullFuncTransfer ownership: None Nullable: False
version
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
license
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
source
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
package
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
origin
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Returns
- bool
Transfer ownership: None Nullable: False
SetCacheData(IntPtr, StructureUnownedHandle)
Calls native method gst_plugin_set_cache_data.
public static extern void SetCacheData(IntPtr plugin, StructureUnownedHandle cacheData)
Parameters
plugin
IntPtrTransfer ownership: None Nullable: False
cacheData
StructureUnownedHandleTransfer ownership: Full Nullable: False