From f12f450410a7aa29d90d082d69da89082be088bb Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 23 Sep 2002 06:02:17 +0000 Subject: [PATCH] backports and fixes Original commit message from CVS: backports and fixes --- tools/Makefile.am | 10 +++++++--- tools/gst-feedback | 17 +++++++++++++++++ tools/gst-launch.1 | 2 +- tools/gst-launch.c | 1 + 4 files changed, 26 insertions(+), 4 deletions(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 6809a67085..5d0d3b2f28 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -10,20 +10,24 @@ else GST_LOADSAVE_SRC = gst-compprep gst-xmllaunch endif -bin_PROGRAMS = gst-launch \ +bin_PROGRAMS = gst-launch \ $(GST_REGISTRY_SRC) \ - gst-inspect \ + gst-inspect \ $(GST_LOADSAVE_SRC) \ + gst-md5sum \ gst-complete bin_SCRIPTS = gst-feedback -man_MANS = gst-launch.1 gst-register.1 gst-inspect.1 \ +man_MANS = gst-launch.1 gst-md5sum.1 gst-register.1 gst-inspect.1 \ gst-complete.1 gst-compprep.1 gst-xmllaunch.1 \ gst-feedback.1 gst_launch_LDADD = $(GST_LIBS) #-lefence gst_launch_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" +gst_md5sum_LDADD = $(GST_LIBS) #-lefence +gst_md5sum_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" + if !GST_DISABLE_REGISTRY gst_register_LDADD = $(GST_LIBS) gst_register_CFLAGS = $(GST_CFLAGS) -DGST_CONFIG_DIR=\"$(GST_CONFIG_DIR)\" diff --git a/tools/gst-feedback b/tools/gst-feedback index e137b73c7c..28c187674f 100755 --- a/tools/gst-feedback +++ b/tools/gst-feedback @@ -65,3 +65,20 @@ for dirs in /usr/include /usr/local/include /home; do fi done +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 + 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 + if test -d $dirs; then + find $dirs -name audio.h + fi +done + + diff --git a/tools/gst-launch.1 b/tools/gst-launch.1 index 25e405582b..24bae70605 100644 --- a/tools/gst-launch.1 +++ b/tools/gst-launch.1 @@ -117,6 +117,6 @@ Add directories separated with ':' to the plugin search path .SH "SEE ALSO" .BR gst\-complete (1), .BR gst\-register (1), -.BR gst\-inspect (1), +.BR gst\-inspect (1) .SH "AUTHOR" The GStreamer team at http://gstreamer.net/ diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 2359aecd25..b51e05b768 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -138,6 +138,7 @@ main(int argc, char *argv[]) pipeline = (GstElement*) gst_parse_launchv ((const gchar**)argvn, &error); } g_free (argvn); + g_free (argvn); if (!pipeline) { if (error)