Move examples directory to tests/examples as in every other GStreamer module

This commit is contained in:
Sebastian Dröge 2009-02-24 16:33:51 +01:00
parent da040c2a35
commit f0ae68d944
43 changed files with 18 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View file

@ -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 */