Commit 577034f1 authored by Stefan Kost's avatar Stefan Kost

gst/gstregistrybinary.*: Refactor so that we can implement multiple features. Add support for

Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature):
* gst/gstregistrybinary.h:
Refactor so that we can implement multiple features. Add support for
TypeFindFactory features.
parent ce9abb4d
2007-04-25 Stefan Kost <ensonic@users.sf.net>
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature):
* gst/gstregistrybinary.h:
Refactor so that we can implement multiple features. Add support for
TypeFindFactory features.
2007-04-24 Stefan Kost <ensonic@users.sf.net> 2007-04-24 Stefan Kost <ensonic@users.sf.net>
Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com> Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
......
This diff is collapsed.
...@@ -38,19 +38,19 @@ ...@@ -38,19 +38,19 @@
* GST_MAGIC_BINARY_REGISTRY_STR: * GST_MAGIC_BINARY_REGISTRY_STR:
* *
* A tag, written at the beginning of the file * A tag, written at the beginning of the file
*/ */
#define GST_MAGIC_BINARY_REGISTRY_STR "\xc0\xde\xf0\x0d" #define GST_MAGIC_BINARY_REGISTRY_STR "\xc0\xde\xf0\x0d"
/* /*
* GST_MAGIC_BINARY_REGISTRY_LEN: * GST_MAGIC_BINARY_REGISTRY_LEN:
* *
* length of the header tag. * length of the header tag.
*/ */
#define GST_MAGIC_BINARY_REGISTRY_LEN (4) #define GST_MAGIC_BINARY_REGISTRY_LEN (4)
/* /*
* GST_MAGIC_BINARY_VERSION_LEN: * GST_MAGIC_BINARY_VERSION_LEN:
* *
* length of the version string. * length of the version string.
*/ */
#define GST_MAGIC_BINARY_VERSION_LEN (64) #define GST_MAGIC_BINARY_VERSION_LEN (64)
typedef struct _GstBinaryRegistryMagic typedef struct _GstBinaryRegistryMagic
...@@ -84,7 +84,7 @@ typedef struct _GstBinaryChunk ...@@ -84,7 +84,7 @@ typedef struct _GstBinaryChunk
/* /*
* GstBinaryPluginElement: * GstBinaryPluginElement:
* *
* @nfeatures: says how many GstBinaryPluginFeature structures we will have * @nfeatures: says how many binary plugin feature structures we will have
* right after the structure itself. * right after the structure itself.
* *
* A structure containing (staticely) every information needed for a plugin * A structure containing (staticely) every information needed for a plugin
...@@ -111,17 +111,26 @@ typedef struct _GstBinaryPluginElement ...@@ -111,17 +111,26 @@ typedef struct _GstBinaryPluginElement
typedef struct _GstBinaryPluginFeature typedef struct _GstBinaryPluginFeature
{ {
gulong rank; gulong rank;
} GstBinaryPluginFeature;
typedef struct _GstBinaryElementFactory {
GstBinaryPluginFeature plugin_feature;
guint npadtemplates; guint npadtemplates;
guint ninterfaces; guint ninterfaces;
guint nuriprotocols; guint nuriprotocols;
} GstBinaryPluginFeature; } GstBinaryElementFactory;
typedef struct _GstBinaryTypeFindFactory {
GstBinaryPluginFeature plugin_feature;
guint nextensions;
} GstBinaryTypeFindFactory;
/* /*
* GstBinaryPadTemplate: * GstBinaryPadTemplate:
* *
* A structure containing the static pad templates of a plugin feature * A structure containing the static pad templates of a plugin feature
*/ */
typedef struct _GstBinaryPadTemplate typedef struct _GstBinaryPadTemplate
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment