summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am12
-rw-r--r--configure.ac8
-rw-r--r--tests/Makefile.am13
-rw-r--r--tests/examples/Makefile.am (renamed from examples/Makefile.am)0
-rw-r--r--tests/examples/app/.gitignore (renamed from examples/app/.gitignore)0
-rw-r--r--tests/examples/app/Makefile.am (renamed from examples/app/Makefile.am)0
-rw-r--r--tests/examples/app/appsink-src.c (renamed from examples/app/appsink-src.c)0
-rw-r--r--tests/examples/app/appsrc-ra.c (renamed from examples/app/appsrc-ra.c)0
-rw-r--r--tests/examples/app/appsrc-seekable.c (renamed from examples/app/appsrc-seekable.c)0
-rw-r--r--tests/examples/app/appsrc-stream.c (renamed from examples/app/appsrc-stream.c)0
-rw-r--r--tests/examples/app/appsrc-stream2.c (renamed from examples/app/appsrc-stream2.c)0
-rw-r--r--tests/examples/app/appsrc_ex.c (renamed from examples/app/appsrc_ex.c)0
-rw-r--r--tests/examples/capsfilter/Makefile.am (renamed from examples/capsfilter/Makefile.am)0
-rw-r--r--tests/examples/capsfilter/capsfilter1.c (renamed from examples/capsfilter/capsfilter1.c)0
-rw-r--r--tests/examples/directfb/.gitignore (renamed from examples/directfb/.gitignore)0
-rw-r--r--tests/examples/directfb/Makefile.am (renamed from examples/directfb/Makefile.am)0
-rw-r--r--tests/examples/directfb/decker.ttf (renamed from examples/directfb/decker.ttf)bin37048 -> 37048 bytes
-rw-r--r--tests/examples/directfb/dfblogo.png (renamed from examples/directfb/dfblogo.png)bin7722 -> 7722 bytes
-rw-r--r--tests/examples/directfb/gstdfb.c (renamed from examples/directfb/gstdfb.c)0
-rw-r--r--tests/examples/gob/Makefile.am (renamed from examples/gob/Makefile.am)0
-rw-r--r--tests/examples/gob/gst-identity2.gob (renamed from examples/gob/gst-identity2.gob)0
-rw-r--r--tests/examples/gstplay/.gitignore (renamed from examples/gstplay/.gitignore)0
-rw-r--r--tests/examples/gstplay/Makefile.am (renamed from examples/gstplay/Makefile.am)0
-rw-r--r--tests/examples/gstplay/player.c (renamed from examples/gstplay/player.c)0
-rw-r--r--tests/examples/indexing/.gitignore (renamed from examples/indexing/.gitignore)0
-rw-r--r--tests/examples/indexing/Makefile.am (renamed from examples/indexing/Makefile.am)0
-rw-r--r--tests/examples/indexing/indexmpeg.c (renamed from examples/indexing/indexmpeg.c)0
-rw-r--r--tests/examples/level/Makefile.am (renamed from examples/level/Makefile.am)0
-rw-r--r--tests/examples/level/README (renamed from examples/level/README)0
-rw-r--r--tests/examples/level/demo.c (renamed from examples/level/demo.c)0
-rw-r--r--tests/examples/level/plot.c (renamed from examples/level/plot.c)1
-rw-r--r--tests/examples/scaletempo/.gitignore (renamed from examples/scaletempo/.gitignore)0
-rw-r--r--tests/examples/scaletempo/Makefile.am (renamed from examples/scaletempo/Makefile.am)0
-rw-r--r--tests/examples/scaletempo/demo-gui.c (renamed from examples/scaletempo/demo-gui.c)0
-rw-r--r--tests/examples/scaletempo/demo-gui.h (renamed from examples/scaletempo/demo-gui.h)0
-rw-r--r--tests/examples/scaletempo/demo-main.c (renamed from examples/scaletempo/demo-main.c)0
-rw-r--r--tests/examples/scaletempo/demo-player.c (renamed from examples/scaletempo/demo-player.c)0
-rw-r--r--tests/examples/scaletempo/demo-player.h (renamed from examples/scaletempo/demo-player.h)0
-rw-r--r--tests/examples/stats/Makefile.am (renamed from examples/stats/Makefile.am)0
-rw-r--r--tests/examples/stats/mp2ogg.c (renamed from examples/stats/mp2ogg.c)0
-rw-r--r--tests/examples/switch/.gitignore (renamed from examples/switch/.gitignore)0
-rw-r--r--tests/examples/switch/Makefile.am (renamed from examples/switch/Makefile.am)0
-rw-r--r--tests/examples/switch/switcher.c (renamed from examples/switch/switcher.c)0
43 files changed, 18 insertions, 16 deletions
diff --git a/Makefile.am b/Makefile.am
index d7a9ef2c..94bca7a2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,20 +1,12 @@
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
-if BUILD_EXAMPLES
-SUBDIRS_EXAMPLES = examples
-else
-SUBDIRS_EXAMPLES =
-endif
-
SUBDIRS = \
gst-libs gst sys ext \
- m4 common docs tests po \
- $(SUBDIRS_EXAMPLES)
+ m4 common docs tests po
DIST_SUBDIRS = \
gst gst-libs sys ext \
- m4 common docs tests po \
- examples
+ m4 common docs tests po
# include before EXTRA_DIST for win32 assignment
include $(top_srcdir)/common/win32.mak
diff --git a/configure.ac b/configure.ac
index b0ddf9cf..c4fabd96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1495,10 +1495,10 @@ sys/wasapi/Makefile
sys/wininet/Makefile
sys/winks/Makefile
sys/winscreencap/Makefile
-examples/Makefile
-examples/directfb/Makefile
-examples/scaletempo/Makefile
-examples/switch/Makefile
+tests/examples/Makefile
+tests/examples/directfb/Makefile
+tests/examples/scaletempo/Makefile
+tests/examples/switch/Makefile
ext/amrwb/Makefile
ext/alsaspdif/Makefile
ext/assrender/Makefile
diff --git a/tests/Makefile.am b/tests/Makefile.am
index fb07e8e9..022b8d50 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,8 +4,17 @@ else
SUBDIRS_CHECK =
endif
+if BUILD_EXAMPLES
+SUBDIRS_EXAMPLES = examples
+else
+SUBDIRS_EXAMPLES =
+endif
+
SUBDIRS = icles \
- $(SUBDIRS_CHECK)
+ $(SUBDIRS_CHECK) \
+ $(SUBDIRS_EXAMPLES)
DIST_SUBDIRS = icles \
- check
+ check \
+ examples
+
diff --git a/examples/Makefile.am b/tests/examples/Makefile.am
index 323ced50..323ced50 100644
--- a/examples/Makefile.am
+++ b/tests/examples/Makefile.am
diff --git a/examples/app/.gitignore b/tests/examples/app/.gitignore
index 8a2c7615..8a2c7615 100644
--- a/examples/app/.gitignore
+++ b/tests/examples/app/.gitignore
diff --git a/examples/app/Makefile.am b/tests/examples/app/Makefile.am
index 4f3df777..4f3df777 100644
--- a/examples/app/Makefile.am
+++ b/tests/examples/app/Makefile.am
diff --git a/examples/app/appsink-src.c b/tests/examples/app/appsink-src.c
index a92dfb51..a92dfb51 100644
--- a/examples/app/appsink-src.c
+++ b/tests/examples/app/appsink-src.c
diff --git a/examples/app/appsrc-ra.c b/tests/examples/app/appsrc-ra.c
index aa4962fe..aa4962fe 100644
--- a/examples/app/appsrc-ra.c
+++ b/tests/examples/app/appsrc-ra.c
diff --git a/examples/app/appsrc-seekable.c b/tests/examples/app/appsrc-seekable.c
index 7137d13e..7137d13e 100644
--- a/examples/app/appsrc-seekable.c
+++ b/tests/examples/app/appsrc-seekable.c
diff --git a/examples/app/appsrc-stream.c b/tests/examples/app/appsrc-stream.c
index 870d707c..870d707c 100644
--- a/examples/app/appsrc-stream.c
+++ b/tests/examples/app/appsrc-stream.c
diff --git a/examples/app/appsrc-stream2.c b/tests/examples/app/appsrc-stream2.c
index 866b0504..866b0504 100644
--- a/examples/app/appsrc-stream2.c
+++ b/tests/examples/app/appsrc-stream2.c
diff --git a/examples/app/appsrc_ex.c b/tests/examples/app/appsrc_ex.c
index bc629fb0..bc629fb0 100644
--- a/examples/app/appsrc_ex.c
+++ b/tests/examples/app/appsrc_ex.c
diff --git a/examples/capsfilter/Makefile.am b/tests/examples/capsfilter/Makefile.am
index f8562fee..f8562fee 100644
--- a/examples/capsfilter/Makefile.am
+++ b/tests/examples/capsfilter/Makefile.am
diff --git a/examples/capsfilter/capsfilter1.c b/tests/examples/capsfilter/capsfilter1.c
index a59f728e..a59f728e 100644
--- a/examples/capsfilter/capsfilter1.c
+++ b/tests/examples/capsfilter/capsfilter1.c
diff --git a/examples/directfb/.gitignore b/tests/examples/directfb/.gitignore
index 5faebe91..5faebe91 100644
--- a/examples/directfb/.gitignore
+++ b/tests/examples/directfb/.gitignore
diff --git a/examples/directfb/Makefile.am b/tests/examples/directfb/Makefile.am
index 595a82ff..595a82ff 100644
--- a/examples/directfb/Makefile.am
+++ b/tests/examples/directfb/Makefile.am
diff --git a/examples/directfb/decker.ttf b/tests/examples/directfb/decker.ttf
index 5e721cfd..5e721cfd 100644
--- a/examples/directfb/decker.ttf
+++ b/tests/examples/directfb/decker.ttf
Binary files differ
diff --git a/examples/directfb/dfblogo.png b/tests/examples/directfb/dfblogo.png
index 8b7d8833..8b7d8833 100644
--- a/examples/directfb/dfblogo.png
+++ b/tests/examples/directfb/dfblogo.png
Binary files differ
diff --git a/examples/directfb/gstdfb.c b/tests/examples/directfb/gstdfb.c
index 675e5e23..675e5e23 100644
--- a/examples/directfb/gstdfb.c
+++ b/tests/examples/directfb/gstdfb.c
diff --git a/examples/gob/Makefile.am b/tests/examples/gob/Makefile.am
index 7abde4dc..7abde4dc 100644
--- a/examples/gob/Makefile.am
+++ b/tests/examples/gob/Makefile.am
diff --git a/examples/gob/gst-identity2.gob b/tests/examples/gob/gst-identity2.gob
index 9c34cb55..9c34cb55 100644
--- a/examples/gob/gst-identity2.gob
+++ b/tests/examples/gob/gst-identity2.gob
diff --git a/examples/gstplay/.gitignore b/tests/examples/gstplay/.gitignore
index a1eb1c43..a1eb1c43 100644
--- a/examples/gstplay/.gitignore
+++ b/tests/examples/gstplay/.gitignore
diff --git a/examples/gstplay/Makefile.am b/tests/examples/gstplay/Makefile.am
index cbae9cbf..cbae9cbf 100644
--- a/examples/gstplay/Makefile.am
+++ b/tests/examples/gstplay/Makefile.am
diff --git a/examples/gstplay/player.c b/tests/examples/gstplay/player.c
index 76453785..76453785 100644
--- a/examples/gstplay/player.c
+++ b/tests/examples/gstplay/player.c
diff --git a/examples/indexing/.gitignore b/tests/examples/indexing/.gitignore
index 5ce09473..5ce09473 100644
--- a/examples/indexing/.gitignore
+++ b/tests/examples/indexing/.gitignore
diff --git a/examples/indexing/Makefile.am b/tests/examples/indexing/Makefile.am
index 022bfc85..022bfc85 100644
--- a/examples/indexing/Makefile.am
+++ b/tests/examples/indexing/Makefile.am
diff --git a/examples/indexing/indexmpeg.c b/tests/examples/indexing/indexmpeg.c
index a670ad8a..a670ad8a 100644
--- a/examples/indexing/indexmpeg.c
+++ b/tests/examples/indexing/indexmpeg.c
diff --git a/examples/level/Makefile.am b/tests/examples/level/Makefile.am
index bf76136f..bf76136f 100644
--- a/examples/level/Makefile.am
+++ b/tests/examples/level/Makefile.am
diff --git a/examples/level/README b/tests/examples/level/README
index 0ae84188..0ae84188 100644
--- a/examples/level/README
+++ b/tests/examples/level/README
diff --git a/examples/level/demo.c b/tests/examples/level/demo.c
index 502f50f7..502f50f7 100644
--- a/examples/level/demo.c
+++ b/tests/examples/level/demo.c
diff --git a/examples/level/plot.c b/tests/examples/level/plot.c
index 6df01065..44591584 100644
--- a/examples/level/plot.c
+++ b/tests/examples/level/plot.c
@@ -29,6 +29,7 @@
#include <gtk/gtk.h>
gboolean got_channel[2] = { FALSE, FALSE }; /* to see if we got the signal for this one yet */
+
gint channels = 0; /* guess at how many channels there are */
gdouble last_time = 0.0; /* time of last signal */
gdouble values[2][3]; /* array of levels from which to print */
diff --git a/examples/scaletempo/.gitignore b/tests/examples/scaletempo/.gitignore
index 1c56e144..1c56e144 100644
--- a/examples/scaletempo/.gitignore
+++ b/tests/examples/scaletempo/.gitignore
diff --git a/examples/scaletempo/Makefile.am b/tests/examples/scaletempo/Makefile.am
index 5cdf3c7f..5cdf3c7f 100644
--- a/examples/scaletempo/Makefile.am
+++ b/tests/examples/scaletempo/Makefile.am
diff --git a/examples/scaletempo/demo-gui.c b/tests/examples/scaletempo/demo-gui.c
index 01df9991..01df9991 100644
--- a/examples/scaletempo/demo-gui.c
+++ b/tests/examples/scaletempo/demo-gui.c
diff --git a/examples/scaletempo/demo-gui.h b/tests/examples/scaletempo/demo-gui.h
index b447d0d8..b447d0d8 100644
--- a/examples/scaletempo/demo-gui.h
+++ b/tests/examples/scaletempo/demo-gui.h
diff --git a/examples/scaletempo/demo-main.c b/tests/examples/scaletempo/demo-main.c
index 0902d7b2..0902d7b2 100644
--- a/examples/scaletempo/demo-main.c
+++ b/tests/examples/scaletempo/demo-main.c
diff --git a/examples/scaletempo/demo-player.c b/tests/examples/scaletempo/demo-player.c
index 3ed4b718..3ed4b718 100644
--- a/examples/scaletempo/demo-player.c
+++ b/tests/examples/scaletempo/demo-player.c
diff --git a/examples/scaletempo/demo-player.h b/tests/examples/scaletempo/demo-player.h
index ff521fc7..ff521fc7 100644
--- a/examples/scaletempo/demo-player.h
+++ b/tests/examples/scaletempo/demo-player.h
diff --git a/examples/stats/Makefile.am b/tests/examples/stats/Makefile.am
index 0f7d81cf..0f7d81cf 100644
--- a/examples/stats/Makefile.am
+++ b/tests/examples/stats/Makefile.am
diff --git a/examples/stats/mp2ogg.c b/tests/examples/stats/mp2ogg.c
index fc56d5b5..fc56d5b5 100644
--- a/examples/stats/mp2ogg.c
+++ b/tests/examples/stats/mp2ogg.c
diff --git a/examples/switch/.gitignore b/tests/examples/switch/.gitignore
index 7893c435..7893c435 100644
--- a/examples/switch/.gitignore
+++ b/tests/examples/switch/.gitignore
diff --git a/examples/switch/Makefile.am b/tests/examples/switch/Makefile.am
index 9a706048..9a706048 100644
--- a/examples/switch/Makefile.am
+++ b/tests/examples/switch/Makefile.am
diff --git a/examples/switch/switcher.c b/tests/examples/switch/switcher.c
index 4742c033..4742c033 100644
--- a/examples/switch/switcher.c
+++ b/tests/examples/switch/switcher.c