Top | ![]() |
![]() |
![]() |
![]() |
void | (*GstTypeFindFunction) () |
const guint8 * | gst_type_find_peek () |
void | gst_type_find_suggest () |
void | gst_type_find_suggest_simple () |
guint64 | gst_type_find_get_length () |
gboolean | gst_type_find_register () |
const guint8 * gst_type_find_peek (GstTypeFind *find
,gint64 offset
,guint size
);
void gst_type_find_suggest (GstTypeFind *find
,guint probability
,GstCaps *caps
);
void gst_type_find_suggest_simple (GstTypeFind *find
,guint probability
,const char *media_type
,const char *fieldname
,...
);
gboolean gst_type_find_register (GstPlugin *plugin
,const gchar *name
,guint rank
,GstTypeFindFunction func
,const gchar *extensions
,GstCaps *possible_caps
,gpointer data
,GDestroyNotify data_notify
);
struct GstTypeFind { /* private to the caller of the typefind function */ const guint8 * (* peek) (gpointer data, gint64 offset, guint size); void (* suggest) (gpointer data, guint probability, GstCaps *caps); gpointer data; /* optional */ guint64 (* get_length) (gpointer data); };