Class ParseContext

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.gst.ParseContext
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class ParseContext extends ProxyInstance
Opaque structure.
  • Constructor Details

    • ParseContext

      public ParseContext(MemorySegment address)
      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

      public static @Nullable Type getType()
      Get the GType of the ParseContext class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • copy

      public @Nullable ParseContext copy()
      Copies the context.
      Returns:
      A copied GstParseContext
      Since:
      1.12.1
    • free

      public void free()
      Frees a parse context previously allocated with gst_parse_context_new().
    • getMissingElements

      public @Nullable String @Nullable [] 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 of ParseError.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.