tpm gst-plugins-base: gst-plugins-base/ gst-plugins-base/ext/libvisual/

[email protected] Tue, 6 Jan 2009 10:04:05 -0800 (PST)
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
--===============3531451162590778441==

CVS Root:       /cvs/gstreamer
Module:         gst-plugins-base
Changes by:     tpm
Date:           Tue Jan 06 2009  18:04:05 UTC

Log message:
	* configure.ac:
	* ext/libvisual/visual.c: (plugin_init):
	  Use new core API to make registry re-scan the plugin
	  whenever visualisations are added or removed (see #350477).

Modified files:
    .               : ChangeLog configure.ac
    ext/libvisual   : visual.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ChangeLog.diff?r1=1.4278&r2=1.4279
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/configure.ac.diff?r1=1.758&r2=1.759
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-base/ext/libvisual/visual.c.diff?r1=1.37&r2=1.38

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ChangeLog,v
retrieving revision 1.4278
retrieving revision 1.4279
diff -u -d -r1.4278 -r1.4279
--- ChangeLog	6 Jan 2009 17:30:29 -0000	1.4278
+++ ChangeLog	6 Jan 2009 18:03:50 -0000	1.4279
@@ -1,3 +1,10 @@
+2009-01-06  Tim-Philipp Müller  <tim.muller at collabora co uk>
+
+	* configure.ac:
+	* ext/libvisual/visual.c: (plugin_init):
+	  Use new core API to make registry re-scan the plugin
+	  whenever visualisations are added or removed (see #350477).
 2009-01-06  Wim Taymans  <[email protected]>
 
 	Patch by: José Alburquerque <jaalburqu svn gnome org>
Index: configure.ac
RCS file: /cvs/gstreamer/gst-plugins-base/configure.ac,v
retrieving revision 1.758
retrieving revision 1.759
diff -u -d -r1.758 -r1.759
--- configure.ac	6 Jan 2009 12:16:17 -0000	1.758
+++ configure.ac	6 Jan 2009 18:03:51 -0000	1.759
@@ -490,6 +490,19 @@
   if test $HAVE_LIBVISUAL = no
   then
     AG_GST_PKG_CHECK_MODULES(LIBVISUAL, libvisual = 0.2.0)
+    if test x$HAVE_LIBVISUAL == xyes; then
+      LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.2`"
+    fi
+  else
+      LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.4`"
+  fi
+  AC_MSG_NOTICE([libvisual pluginsdir: $LIBVIS_PLUGINSDIR])
+  if test x$LIBVIS_PLUGINSDIR != x; then
+    AC_DEFINE_UNQUOTED(LIBVISUAL_PLUGINSBASEDIR,
+        "$LIBVIS_PLUGINSDIR",
+        [directory in which the detected libvisual's plugins are located])
   fi
 ])
Index: visual.c
RCS file: /cvs/gstreamer/gst-plugins-base/ext/libvisual/visual.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- visual.c	29 Feb 2008 14:52:02 -0000	1.37
+++ visual.c	6 Jan 2009 18:03:51 -0000	1.38
@@ -875,6 +875,11 @@
   GST_DEBUG_CATEGORY_INIT (libvisual_debug, "libvisual", 0,
       "libvisual audio visualisations");
+#ifdef LIBVISUAL_PLUGINSBASEDIR
+  gst_plugin_add_dependency_simple (plugin, "HOME/.libvisual/actor",
+      LIBVISUAL_PLUGINSBASEDIR "/actor", NULL, GST_PLUGIN_DEPENDENCY_FLAG_NONE);
+#endif
   visual_log_set_verboseness (VISUAL_LOG_VERBOSENESS_LOW);
   visual_log_set_info_handler (libvisual_log_handler, (void *) GST_LEVEL_INFO);
   visual_log_set_warning_handler (libvisual_log_handler,


--===============3531451162590778441==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
--===============3531451162590778441==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gstreamer-cvs-verbose mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs-verbose

--===============3531451162590778441==--