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

typeFindHelperForExtension

Parameters

obj gst.object.ObjectGst

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

extension string

an extension

Return Value

Type: gst.caps.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().