g_error fix, m/m version fix

Original commit message from CVS:
g_error fix, m/m version fix
This commit is contained in:
Thomas Vander Stichele 2004-03-14 17:54:22 +00:00
parent cd02914812
commit c01cd4e835
4 changed files with 28 additions and 13 deletions

View file

@ -1,3 +1,12 @@
2004-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/registries/gstxmlregistry.c: (gst_xml_registry_load_plugin):
g_error_free the g_error
* tools/gst-feedback-m.m:
check for other versions of gstreamer
* tools/gst-indent:
use sh, not bash
2004-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
* tools/gst-register.c: do not spill paths when registries are not

View file

@ -141,6 +141,7 @@ gst_xml_registry_get_type (void)
(GInstanceInitFunc) gst_xml_registry_init,
NULL
};
xml_registry_type = g_type_register_static (GST_TYPE_REGISTRY,
"GstXMLRegistry", &xml_registry_info, 0);
}
@ -638,6 +639,7 @@ gst_xml_registry_load_plugin (GstRegistry * registry, GstPlugin * plugin)
if (error) {
g_warning ("could not load plugin %s: %s", plugin->desc.name,
error->message);
g_error_free (error);
}
return GST_REGISTRY_PLUGIN_LOAD_ERROR;
} else if (loaded_plugin != plugin) {

View file

@ -36,14 +36,18 @@ command_output "id"
echo
echo "+ PKG-CONFIG INFORMATION"
command_output "pkg-config --version"
command_output "pkg-config gstreamer --modversion"
command_output "pkg-config gstreamer --cflags"
command_output "pkg-config gstreamer --libs"
command_output "pkg-config gstreamer-libs --modversion"
command_output "pkg-config gstreamer-libs --cflags"
command_output "pkg-config gstreamer-libs --libs"
echo
for mm in 0.6 0.7 0.8
do
echo "+ $mm"
command_output "pkg-config --version"
command_output "pkg-config gstreamer-$mm --modversion"
command_output "pkg-config gstreamer-$mm --cflags"
command_output "pkg-config gstreamer-$mm --libs"
command_output "pkg-config gstreamer-libs-$mm --modversion"
command_output "pkg-config gstreamer-libs-$mm --cflags"
command_output "pkg-config gstreamer-libs-$mm --libs"
echo
done
echo "+ GSTREAMER INFORMATION"
command_output "which gst-register"
@ -53,13 +57,13 @@ command_output "gst-inspect fakesink"
command_output "gst-launch fakesrc num_buffers=5 ! fakesink"
echo "++ looking for gstreamer libraries in common locations"
for dirs in /usr/lib /usr/local/lib /home; do
for dirs in /usr/lib /usr/local/lib; do
if test -d $dirs; then
find $dirs -name libgstreamer* | grep so
fi
done
echo "++ looking for gstreamer headers in common locations"
for dirs in /usr/include /usr/local/include /home; do
for dirs in /usr/include /usr/local/include; do
if test -d $dirs; then
find $dirs -name gst.h
fi
@ -69,13 +73,13 @@ echo "+ GSTREAMER PLUG-INS INFORMATION"
command_output "gst-inspect volume"
echo "++ looking for gstreamer volume plugin in common locations"
for dirs in /usr/lib /usr/local/lib /home; do
for dirs in /usr/lib /usr/local/lib; do
if test -d $dirs; then
find $dirs -name libgstvolume* | grep so
fi
done
echo "++ looking for gstreamer headers in common locations"
for dirs in /usr/include /usr/local/include /home; do
for dirs in /usr/include /usr/local/include; do
if test -d $dirs; then
find $dirs -name audio.h
fi

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
indent \
--braces-on-if-line \
--blank-lines-after-declarations \