mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gst/gsttypefind.h: Tabs to spaces, oh yes!
Original commit message from CVS: * gst/gsttypefind.h: Tabs to spaces, oh yes!
This commit is contained in:
parent
7ac4c73446
commit
ceb208f1b5
2 changed files with 33 additions and 25 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* gst/gsttypefind.h:
|
||||
Tabs to spaces, oh yes!
|
||||
|
||||
2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
|
||||
|
||||
* tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_TYPE_FIND (gst_type_find_get_type())
|
||||
#define GST_TYPE_TYPE_FIND (gst_type_find_get_type())
|
||||
|
||||
typedef struct _GstTypeFind GstTypeFind;
|
||||
|
||||
|
@ -72,42 +72,45 @@ typedef enum {
|
|||
*/
|
||||
struct _GstTypeFind {
|
||||
/* private to the caller of the typefind function */
|
||||
guint8 * (* peek) (gpointer data,
|
||||
gint64 offset,
|
||||
guint size);
|
||||
void (* suggest) (gpointer data,
|
||||
guint probability,
|
||||
const GstCaps * caps);
|
||||
guint8 * (* peek) (gpointer data,
|
||||
gint64 offset,
|
||||
guint size);
|
||||
|
||||
gpointer data;
|
||||
void (* suggest) (gpointer data,
|
||||
guint probability,
|
||||
const GstCaps * caps);
|
||||
|
||||
gpointer data;
|
||||
|
||||
/* optional */
|
||||
guint64 (* get_length) (gpointer data);
|
||||
guint64 (* get_length) (gpointer data);
|
||||
|
||||
/* <private> */
|
||||
gpointer _gst_reserved[GST_PADDING];
|
||||
};
|
||||
|
||||
GType gst_type_find_get_type (void);
|
||||
GType gst_type_find_get_type (void);
|
||||
|
||||
/* typefind function interface */
|
||||
guint8 * gst_type_find_peek (GstTypeFind * find,
|
||||
gint64 offset,
|
||||
guint size);
|
||||
void gst_type_find_suggest (GstTypeFind * find,
|
||||
guint probability,
|
||||
const GstCaps * caps);
|
||||
guint64 gst_type_find_get_length (GstTypeFind * find);
|
||||
guint8 * gst_type_find_peek (GstTypeFind * find,
|
||||
gint64 offset,
|
||||
guint size);
|
||||
|
||||
void gst_type_find_suggest (GstTypeFind * find,
|
||||
guint probability,
|
||||
const GstCaps * caps);
|
||||
|
||||
guint64 gst_type_find_get_length (GstTypeFind * find);
|
||||
|
||||
/* registration interface */
|
||||
gboolean gst_type_find_register (GstPlugin * plugin,
|
||||
const gchar * name,
|
||||
guint rank,
|
||||
GstTypeFindFunction func,
|
||||
gchar ** extensions,
|
||||
const GstCaps * possible_caps,
|
||||
gpointer data,
|
||||
GDestroyNotify data_notify);
|
||||
gboolean gst_type_find_register (GstPlugin * plugin,
|
||||
const gchar * name,
|
||||
guint rank,
|
||||
GstTypeFindFunction func,
|
||||
gchar ** extensions,
|
||||
const GstCaps * possible_caps,
|
||||
gpointer data,
|
||||
GDestroyNotify data_notify);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue