Package org.freedesktop.gstreamer.gst
Class ParseContext
java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.gst.ParseContext
-
Constructor Summary
ConstructorsConstructorDescriptionAllocates 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 TypeMethodDescription@Nullable ParseContextcopy()Copies thecontext.voidfree()Frees a parse context previously allocated with gst_parse_context_new().@Nullable String @Nullable []Retrieve missing elements from a previous run of gst_parse_launch_full() or gst_parse_launchv_full().static @Nullable TypegetType()Get the GType of the ParseContext classMethods inherited from class org.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
Copies thecontext.- Returns:
- A copied
GstParseContext - Since:
- 1.12.1
-
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_ELEMENTwas returned.- Returns:
- a
null-terminated array of element factory name strings of missing elements. Free with g_strfreev() when no longer needed.
-