summaryrefslogtreecommitdiff
path: root/gst/gstpluginloader.c
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-06-09 12:06:16 +0300
committerStefan Kost <ensonic@users.sf.net>2010-06-09 12:15:52 +0300
commit012cf2862fb68672c59fde8dd34c2134233b723c (patch)
tree349c4d2c6fd8717b489901a690b8e2c8b0e40e9f /gst/gstpluginloader.c
parent8f1cd236ec4059273f02ef0aa00b63ded1e28efd (diff)
downloadgstreamer-012cf2862fb68672c59fde8dd34c2134233b723c.tar.gz
comments: add a few comments to the sparsely documented plugin loader
Diffstat (limited to 'gst/gstpluginloader.c')
-rw-r--r--gst/gstpluginloader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/gstpluginloader.c b/gst/gstpluginloader.c
index d971a3f01d..dacdd0b893 100644
--- a/gst/gstpluginloader.c
+++ b/gst/gstpluginloader.c
@@ -61,12 +61,14 @@ static gboolean plugin_loader_free (GstPluginLoader * loader);
static gboolean plugin_loader_load (GstPluginLoader * loader,
const gchar * filename, off_t file_size, time_t file_mtime);
+/* functions used in GstRegistry scanning */
const GstPluginLoaderFuncs _priv_gst_plugin_loader_funcs = {
plugin_loader_new, plugin_loader_free, plugin_loader_load
};
typedef struct _PendingPluginEntry
{
+ /* sequence number */
guint32 tag;
gchar *filename;
off_t file_size;
@@ -92,6 +94,7 @@ struct _GstPluginLoader
guint tx_buf_write;
guint tx_buf_read;
+ /* next sequence number (for PendingPluginEntry) */
guint32 next_tag;
guint8 *rx_buf;