Import line: | GstBase = imports.gi.GstBase; |
GIR File: | GstBase-0.10.gir |
C documentation: | GstBase |
Namespace : | GstBase |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
String GstBase.BASE_TRANSFORM_SINK_NAME : sink
|
|
String GstBase.BASE_TRANSFORM_SRC_NAME : src
|
None |
Method / Constructor | Defined By | |
---|---|---|
GstBase | ||
Tries to find what type of data is contained in the given GstBuffer, the assumption being that the buffer represents the beginning of the stream or file.
Tries to find what type of data is contained in the given GstBuffer, the assumption being that the buffer represents the beginning of the stream or file. All available typefinders will be called on the data in order of rank. If a typefinding function returns a probability of GST_TYPE_FIND_MAXIMUM, typefinding is stopped immediately and the found caps will be returned right away. Otherwise, all available typefind functions will the tried, and the caps with the highest probability will be returned, or NULL if the content of the buffer could not be identified. be found. The caller should free the caps returned with gst_caps_unref().
|
GstBase | |
Tries to find the best GstCaps associated with extension.
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. be found. The caller should free the caps returned with gst_caps_unref().
|
GstBase | |
GstBase.type_find_helper_get_range
(Object obj, Function func, Number size, TypeFindProbability prob)
:
Gst.Caps
Utility function to do pull-based typefinding.
Utility function to do pull-based typefinding. Unlike gst_type_find_helper() however, this function will use the specified function func to obtain the data needed by the typefind functions, rather than operating on a given source pad. This is useful mostly for elements like tag demuxers which strip off data at the beginning and/or end of a file and want to typefind the stripped data stream before adding their own source pad (the specified callback can then call the upstream peer pad with offsets adjusted for the tag size, for example). Returns NULL if no GstCaps matches the data stream.
|
GstBase | |
GstBase.type_find_helper_get_range_ext
(Object obj, Function func, Number size, String extension, TypeFindProbability prob)
:
Gst.Caps
Utility function to do pull-based typefinding.
Utility function to do pull-based typefinding. Unlike gst_type_find_helper() however, this function will use the specified function func to obtain the data needed by the typefind functions, rather than operating on a given source pad. This is useful mostly for elements like tag demuxers which strip off data at the beginning and/or end of a file and want to typefind the stripped data stream before adding their own source pad (the specified callback can then call the upstream peer pad with offsets adjusted for the tag size, for example). When extension is not NULL, this function will first try the typefind functions for the given extension, which might speed up the typefinding in many cases. Returns NULL if no GstCaps matches the data stream.
|
GstBase |
None |