add a 'plugins' dir to the PLUGIN_PATH in the uninstalled script to drop random other...
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 8 Jun 2005 13:42:52 +0000 (13:42 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 8 Jun 2005 13:42:52 +0000 (13:42 +0000)
Original commit message from CVS:
add a 'plugins' dir to the PLUGIN_PATH in the uninstalled script to drop random other plugin-having projects in

check/Makefile.am
docs/faq/gst-uninstalled
gst/gstminiobject.h
tests/check/Makefile.am

index 6fb5365..592308b 100644 (file)
@@ -22,16 +22,18 @@ clean-local:
          rm -rf $$i; \
        done
 
-TESTS = $(top_builddir)/tools/gst-register \
-       gst/gstbin              \
-        gst/gstbus             \
-       gst/gstcaps             \
-       gst/gstiterator         \
-       gst/gstmessage          \
-       gst/gstobject           \
-       gst/gstpad              \
-       gst/gstsystemclock      \
-       pipelines/simple_launch_lines   \
+TESTS = $(top_builddir)/tools/gst-register     \
+       gst/gstbin                              \
+        gst/gstbuffer                          \
+        gst/gstbus                             \
+       gst/gstcaps                             \
+       gst/gstiterator                         \
+       gst/gstmessage                          \
+       gst/gstobject                           \
+       gst/gstpad                              \
+       gst/gstsystemclock                      \
+       pipelines/simple_launch_lines           \
+       pipelines/cleanup                       \
        gst-libs/gdp    
 
 check_PROGRAMS = $(TESTS)
index d525bb4..f5c33b1 100755 (executable)
@@ -43,7 +43,7 @@ PATH=$GST/gstreamer/tools:$GST/gst-plugins/tools:$GST/gst-player/src:$GST/gst-ed
 # /some/path: makes the dynamic linker look in . too, so avoid this
 export LD_LIBRARY_PATH=$GST/prefix/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
 export PKG_CONFIG_PATH=$GST/prefix/lib/pkgconfig:$GST/gstreamer/pkgconfig:$GST/gst-plugins/pkgconfig:$GST/gst-plugins-base/pkgconfig:$GST/gst-python/pkgconfig:$PKG_CONFIG_PATH
-export GST_PLUGIN_PATH=$GST/gstreamer:$GST/gst-plugins:$GST/gst-plugins-base:$GST/gst-ffmpeg:$GST/gst-monkeysaudio:$GST_PLUGIN_PATH
+export GST_PLUGIN_PATH=$GST/gstreamer:$GST/gst-plugins:$GST/gst-plugins-base:$GST/gst-ffmpeg:$GST/gst-monkeysaudio:$GST/plugins:$GST_PLUGIN_PATH
 export MANPATH=$GST/gstreamer/tools:$GST/prefix/share/man:$MANPATH
 pythonver=`python -c "import sys; print sys.version[:3]"`
 export PYTHONPATH=$GST/gst-python:$GST/prefix/lib/python$pythonver/site-packages:$PYTHONPATH
index 27766b0..7e38a0f 100644 (file)
@@ -34,6 +34,7 @@ G_BEGIN_DECLS
 #define GST_MINI_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_MINI_OBJECT, GstMiniObjectClass))
 #define GST_MINI_OBJECT(obj)          (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_MINI_OBJECT, GstMiniObject))
 #define GST_MINI_OBJECT_CLASS(klass)  (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_MINI_OBJECT, GstMiniObjectClass))
+#define GST_MINI_OBJECT_CAST(obj)     ((GstMiniObject*)(obj))
 
 typedef struct _GstMiniObject GstMiniObject;
 typedef struct _GstMiniObjectClass GstMiniObjectClass;
@@ -55,6 +56,8 @@ typedef enum
   GST_MINI_OBJECT_FLAG_LAST = (1<<4)
 } GstMiniObjectFlags;
 
+#define GST_MINI_OBJECT_REFCOUNT(obj)           ((GST_MINI_OBJECT_CAST(obj))->refcount)
+#define GST_MINI_OBJECT_REFCOUNT_VALUE(obj)     (g_atomic_int_get (&(GST_MINI_OBJECT_CAST(obj))->refcount))
 
 struct _GstMiniObject {
   GTypeInstance instance;
index 6fb5365..592308b 100644 (file)
@@ -22,16 +22,18 @@ clean-local:
          rm -rf $$i; \
        done
 
-TESTS = $(top_builddir)/tools/gst-register \
-       gst/gstbin              \
-        gst/gstbus             \
-       gst/gstcaps             \
-       gst/gstiterator         \
-       gst/gstmessage          \
-       gst/gstobject           \
-       gst/gstpad              \
-       gst/gstsystemclock      \
-       pipelines/simple_launch_lines   \
+TESTS = $(top_builddir)/tools/gst-register     \
+       gst/gstbin                              \
+        gst/gstbuffer                          \
+        gst/gstbus                             \
+       gst/gstcaps                             \
+       gst/gstiterator                         \
+       gst/gstmessage                          \
+       gst/gstobject                           \
+       gst/gstpad                              \
+       gst/gstsystemclock                      \
+       pipelines/simple_launch_lines           \
+       pipelines/cleanup                       \
        gst-libs/gdp    
 
 check_PROGRAMS = $(TESTS)