Function

GstBase-1.0GstBasetype_find_helper_for_extension

  • Tries to find the best Gst.Caps associated with extension.

    All available typefinders will be checked against the extension in order of rank. The caps of the first typefinder that can handle extension will be returned.

    Free-function: gst_caps_unref

    Parameters

    • obj: Gst.Object

      object doing the typefinding, or null (used for logging)

    • extension: string

      an extension

    Returns Gst.Caps

    the Gst.Caps corresponding to extension, or null if no type could be found. The caller should free the caps returned with gst_caps_unref().