/**
* GstTypeFindProbability:
- * @GST_TYPE_FIND_MINIMUM: unlikely typefind
- * @GST_TYPE_FIND_POSSIBLE: possible type detected
- * @GST_TYPE_FIND_LIKELY: likely a type was detected
- * @GST_TYPE_FIND_NEARLY_CERTAIN: nearly certain that a type was detected
+ * @GST_TYPE_FIND_NONE: type undetected. Since 0.10.36.
+ * @GST_TYPE_FIND_MINIMUM: unlikely typefind.
+ * @GST_TYPE_FIND_POSSIBLE: possible type detected.
+ * @GST_TYPE_FIND_LIKELY: likely a type was detected.
+ * @GST_TYPE_FIND_NEARLY_CERTAIN: nearly certain that a type was detected.
* @GST_TYPE_FIND_MAXIMUM: very certain a type was detected.
*
* The probability of the typefind function. Higher values have more certainty
* in doing a reliable typefind.
*/
typedef enum {
+ GST_TYPE_FIND_NONE = 0,
GST_TYPE_FIND_MINIMUM = 1,
GST_TYPE_FIND_POSSIBLE = 50,
GST_TYPE_FIND_LIKELY = 80,
void (* suggest) (gpointer data,
guint probability,
- const GstCaps * caps);
+ GstCaps *caps);
gpointer data;
void gst_type_find_suggest (GstTypeFind * find,
guint probability,
- const GstCaps * caps);
+ GstCaps * caps);
void gst_type_find_suggest_simple (GstTypeFind * find,
guint probability,
const gchar * name,
guint rank,
GstTypeFindFunction func,
- gchar ** extensions,
- const GstCaps * possible_caps,
+ const gchar * extensions,
+ GstCaps * possible_caps,
gpointer data,
GDestroyNotify data_notify);