[gstreamer-bugs] [Bug 359653] GStreamer Binary Registry patch
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Oct 9 11:28:21 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=359653
GStreamer | gstreamer (core) | Ver: HEAD CVS
------- Comment #19 from Mathieu Garcia 2006-10-09 18:27 UTC -------
OK.
Found a bug within gst_registry_binary_write_cache. Current gstreamer CVS fix
the problem (with gst_registry_xml_write_cache). The bug occurs when the
.gstreamer-0.10 directory doesn't exists.
We should have :
/* the previous g_mkstemp call overwrote the XXXXXX placeholder ... */
g_free (tmp_location);
tmp_location = g_strconcat (location, ".tmpXXXXXX", NULL);
registry->cache_file = g_mkstemp (tmp_location);
if (registry->cache_file == -1) {
GST_DEBUG ("g_mkstemp() failed: %s", g_strerror (errno));
g_free (tmp_location);
return FALSE;
See
http://webcvs.freedesktop.org/gstreamer/gstreamer/gst/gstregistryxml.c?r1=1.26&r2=1.27
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list