Base.typeFindHelperForExtension

Tries to find the best #GstCaps 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

struct Base
static
typeFindHelperForExtension

Parameters

obj ObjectGst

object doing the typefinding, or %NULL (used for logging)

extension string

an extension

Return Value

Type: Caps

the #GstCaps corresponding to @extension, or %NULL if no type could be found. The caller should free the caps returned with gst_caps_unref().

Meta