Function

Gst-1.0Gsttype_find_register

  • Registers a new typefind function to be used for typefinding. After registering this function will be available for typefinding. This function is typically called during an element's plugin initialization.

    Parameters

    • plugin: Gst.Plugin

      A Gst.Plugin, or null for a static typefind function

    • name: string

      The name for registering

    • rank: number

      The rank (or importance) of this typefind function

    • func: TypeFindFunction
    • Optionalextensions: string

      Optional comma-separated list of extensions that could belong to this type

    • Optionalpossible_caps: Gst.Caps

      Optionally the caps that could be returned when typefinding succeeds

    Returns boolean

    true on success, false otherwise