mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
examples: don't compile testrtpool example if pthreads are not available like on win32
Based on patch by: italarab@gmail.com https://bugzilla.gnome.org/show_bug.cgi?id=688511
This commit is contained in:
parent
45bd1c19cf
commit
8f514e6634
1 changed files with 5 additions and 2 deletions
|
@ -40,7 +40,6 @@ EXAMPLES = \
|
||||||
appsink \
|
appsink \
|
||||||
dynformat \
|
dynformat \
|
||||||
effectswitch \
|
effectswitch \
|
||||||
testrtpool \
|
|
||||||
norebuffer \
|
norebuffer \
|
||||||
playbin \
|
playbin \
|
||||||
decodebin \
|
decodebin \
|
||||||
|
@ -61,11 +60,15 @@ BUILT_SOURCES = \
|
||||||
appsink.c \
|
appsink.c \
|
||||||
dynformat.c \
|
dynformat.c \
|
||||||
effectswitch.c \
|
effectswitch.c \
|
||||||
testrtpool.c \
|
|
||||||
norebuffer.c \
|
norebuffer.c \
|
||||||
playbin.c decodebin.c \
|
playbin.c decodebin.c \
|
||||||
playsink.c
|
playsink.c
|
||||||
|
|
||||||
|
if HAVE_PTHREAD
|
||||||
|
BUILT_SOURCES += testrtpool.c
|
||||||
|
EXAMPLES += testrtpool
|
||||||
|
endif
|
||||||
|
|
||||||
CLEANFILES = core core.* test-registry.* *.gcno *.gcda $(BUILT_SOURCES)
|
CLEANFILES = core core.* test-registry.* *.gcno *.gcda $(BUILT_SOURCES)
|
||||||
|
|
||||||
AM_CFLAGS = $(GST_OBJ_CFLAGS)
|
AM_CFLAGS = $(GST_OBJ_CFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue