summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2003-02-05 14:01:17 +0000
committerMarinus Schraal <foser@gentoo.org>2003-02-05 14:01:17 +0000
commit0423ce52d9dcd144c55a3b17da16b99ab3c6635d (patch)
treead0b4a3bce92f11a379aef9bc6a915a3c870b1b1 /media-libs
parentVersion bump (diff)
downloadgentoo-2-0423ce52d9dcd144c55a3b17da16b99ab3c6635d.tar.gz
gentoo-2-0423ce52d9dcd144c55a3b17da16b99ab3c6635d.tar.bz2
gentoo-2-0423ce52d9dcd144c55a3b17da16b99ab3c6635d.zip
forgot the patch, duh
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gstreamer/files/digest-gstreamer-0.6.01
-rw-r--r--media-libs/gstreamer/files/gstreamer-error_report.patch20
2 files changed, 20 insertions, 1 deletions
diff --git a/media-libs/gstreamer/files/digest-gstreamer-0.6.0 b/media-libs/gstreamer/files/digest-gstreamer-0.6.0
deleted file mode 100644
index 3650f861360a..000000000000
--- a/media-libs/gstreamer/files/digest-gstreamer-0.6.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3d0dec37678b33bbcb23cb2e20a83fe4 gstreamer-0.6.0.tar.bz2 1094712
diff --git a/media-libs/gstreamer/files/gstreamer-error_report.patch b/media-libs/gstreamer/files/gstreamer-error_report.patch
new file mode 100644
index 000000000000..7254f4319f0f
--- /dev/null
+++ b/media-libs/gstreamer/files/gstreamer-error_report.patch
@@ -0,0 +1,20 @@
+diff -ur gstreamer-0.6.0/gst/registries/gstxmlregistry.c gstreamer-0.6.0.patched/gst/registries/gstxmlregistry.c
+--- gstreamer-0.6.0/gst/registries/gstxmlregistry.c 2003-01-16 22:22:06.000000000 +0100
++++ gstreamer-0.6.0.patched/gst/registries/gstxmlregistry.c 2003-02-02 16:23:44.000000000 +0100
+@@ -625,11 +625,14 @@
+ static GstRegistryReturn
+ gst_xml_registry_load_plugin (GstRegistry *registry, GstPlugin *plugin)
+ {
++ GError *error = NULL;
+ /* FIXME: add gerror support */
+- if (!gst_plugin_load_plugin (plugin, NULL)) {
++ if (!gst_plugin_load_plugin (plugin, &error)) {
++ if (error) {
++ g_warning ("could not load plugin %s: %s", plugin->name, error->message);
++ }
+ return GST_REGISTRY_PLUGIN_LOAD_ERROR;
+ }
+-
+ return GST_REGISTRY_OK;
+ }
+