TypeFind.register
bool register(gst.plugin.Plugin plugin, string name, uint rank, gst.types.TypeFindFunction func, string extensions = null, gst.caps.Caps possibleCaps = null)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 | A #GstPlugin, or null for a static typefind function |
name | The name for registering |
rank | The rank (or importance) of this typefind function |
func | The #GstTypeFindFunction to use |
extensions | Optional comma-separated list of extensions that could belong to this type |
possibleCaps | Optionally the caps that could be returned when typefinding succeeds |
Returns
true on success, false otherwise