Package org.freedesktop.gstreamer.gst
Class ParseContext
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.freedesktop.gstreamer.gst.ParseContext
-
Constructor Summary
ConstructorDescriptionAllocates a parse context for use with gst_parse_launch_full() or gst_parse_launchv_full().ParseContext
(MemorySegment address) Create a ParseContext proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Copies the this ParseContext.void
free()
Frees a parse context previously allocated with gst_parse_context_new().String[]
Retrieve missing elements from a previous run of gst_parse_launch_full() or gst_parse_launchv_full().static Type
getType()
Get the GType of the ParseContext classMethods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
ParseContext
Create a ParseContext proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
ParseContext
public ParseContext()Allocates a parse context for use with gst_parse_launch_full() or gst_parse_launchv_full().Free-function: gst_parse_context_free
-
-
Method Details
-
getType
-
copy
-
free
public void free()Frees a parse context previously allocated with gst_parse_context_new(). -
getMissingElements
Retrieve missing elements from a previous run of gst_parse_launch_full() or gst_parse_launchv_full(). Will only return results if an error code ofParseError.NO_SUCH_ELEMENT
was returned.- Returns:
- a
null
-terminated array of element factory name strings of missing elements. Free with g_strfreev() when no longer needed.
-