2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
+ * docs/gst/gstreamer-sections.txt:
+ * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
+ (gst_registry_binary_check_magic):
+ * gst/gstregistrybinary.h:
+ Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
+ and add it to the (private part) of the docs to fix the build.
+
+2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
+
* gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
(gst_registry_binary_check_magic),
(gst_registry_binary_read_cache):
<SUBSECTION Private>
GST_MAGIC_BINARY_REGISTRY_LEN
GST_MAGIC_BINARY_REGISTRY_STR
+GST_MAGIC_BINARY_VERSION_STR
GST_MAGIC_BINARY_VERSION_LEN
gst_registry_get_type
</SECTION>
{
if (!strncpy (m->magic, GST_MAGIC_BINARY_REGISTRY_STR,
GST_MAGIC_BINARY_REGISTRY_LEN)
- || !strncpy (m->version, GST_MAGIC_BINARY_VERSION_STRING,
+ || !strncpy (m->version, GST_MAGIC_BINARY_VERSION_STR,
GST_MAGIC_BINARY_VERSION_LEN)) {
GST_ERROR ("Failed to write magic to the registry magic structure");
return FALSE;
m->magic[1] & 0xff, m->magic[2] & 0xff, m->magic[3] & 0xff);
return -1;
}
- if (strncmp (m->version, GST_MAGIC_BINARY_VERSION_STRING,
+ if (strncmp (m->version, GST_MAGIC_BINARY_VERSION_STR,
GST_MAGIC_BINARY_VERSION_LEN)) {
GST_WARNING ("Binary registry magic version is different : %s != %s",
- GST_MAGIC_BINARY_VERSION_STRING, m->version);
+ GST_MAGIC_BINARY_VERSION_STR, m->version);
return -2;
}
return 0;
#define GST_MAGIC_BINARY_REGISTRY_LEN (4)
/*
- * GST_MAGIC_BINARY_VERSION_STRING:
+ * GST_MAGIC_BINARY_VERSION_STR:
*
* The current version of the binary registry format.
* This _must_ be updated whenever the registry format changes,
* we currently use the core version where this change happened.
*/
-#define GST_MAGIC_BINARY_VERSION_STRING ("0.10.18")
+#define GST_MAGIC_BINARY_VERSION_STR ("0.10.18")
/*
* GST_MAGIC_BINARY_VERSION_LEN: