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 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
if BUILD_EXAMPLES
SUBDIRS_EXAMPLES = examples
else
SUBDIRS_EXAMPLES =
endif
SUBDIRS = \ SUBDIRS = \
gst-libs gst sys ext \ gst-libs gst sys ext \
m4 common docs tests po \ m4 common docs tests po
$(SUBDIRS_EXAMPLES)
DIST_SUBDIRS = \ DIST_SUBDIRS = \
gst gst-libs sys ext \ gst gst-libs sys ext \
m4 common docs tests po \ m4 common docs tests po
examples
# include before EXTRA_DIST for win32 assignment # include before EXTRA_DIST for win32 assignment
include $(top_srcdir)/common/win32.mak include $(top_srcdir)/common/win32.mak

View File

@ -1495,10 +1495,10 @@ sys/wasapi/Makefile
sys/wininet/Makefile sys/wininet/Makefile
sys/winks/Makefile sys/winks/Makefile
sys/winscreencap/Makefile sys/winscreencap/Makefile
examples/Makefile tests/examples/Makefile
examples/directfb/Makefile tests/examples/directfb/Makefile
examples/scaletempo/Makefile tests/examples/scaletempo/Makefile
examples/switch/Makefile tests/examples/switch/Makefile
ext/amrwb/Makefile ext/amrwb/Makefile
ext/alsaspdif/Makefile ext/alsaspdif/Makefile
ext/assrender/Makefile ext/assrender/Makefile

View File

@ -4,8 +4,17 @@ else
SUBDIRS_CHECK = SUBDIRS_CHECK =
endif endif
if BUILD_EXAMPLES
SUBDIRS_EXAMPLES = examples
else
SUBDIRS_EXAMPLES =
endif
SUBDIRS = icles \ SUBDIRS = icles \
$(SUBDIRS_CHECK) $(SUBDIRS_CHECK) \
$(SUBDIRS_EXAMPLES)
DIST_SUBDIRS = icles \ 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> #include <gtk/gtk.h>
gboolean got_channel[2] = { FALSE, FALSE }; /* to see if we got the signal for this one yet */ 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 */ gint channels = 0; /* guess at how many channels there are */
gdouble last_time = 0.0; /* time of last signal */ gdouble last_time = 0.0; /* time of last signal */
gdouble values[2][3]; /* array of levels from which to print */ gdouble values[2][3]; /* array of levels from which to print */