mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 16:48:11 +00:00
opensles: Integrate into build system
This commit is contained in:
parent
e4810c3420
commit
9c1543bd79
3 changed files with 17 additions and 5 deletions
|
@ -703,6 +703,14 @@ AG_GST_CHECK_FEATURE(VCD, [Video CD], vcdsrc, [
|
||||||
AC_CHECK_HEADER(linux/cdrom.h, HAVE_VCD="yes", HAVE_VCD="no")
|
AC_CHECK_HEADER(linux/cdrom.h, HAVE_VCD="yes", HAVE_VCD="no")
|
||||||
])
|
])
|
||||||
|
|
||||||
|
dnl check for OpenSL ES
|
||||||
|
translit(dnm, m, l) AM_CONDITIONAL(USE_OPENSLES, true)
|
||||||
|
AG_GST_CHECK_FEATURE(OPENSLES, [OpenSL ES], opensl, [
|
||||||
|
AC_CHECK_HEADER(SLES/OpenSLES.h,
|
||||||
|
AC_CHECK_HEADER(SLES/OpenSLES_Android.h, HAVE_OPENSLES="yes", HAVE_OPENSLES="no"),
|
||||||
|
HAVE_OPENSLES="no"
|
||||||
|
)
|
||||||
|
])
|
||||||
|
|
||||||
dnl *** UVC H264 ***
|
dnl *** UVC H264 ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_UVCH264, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_UVCH264, true)
|
||||||
|
@ -2068,6 +2076,7 @@ sys/dshowvideosink/Makefile
|
||||||
sys/dvb/Makefile
|
sys/dvb/Makefile
|
||||||
sys/fbdev/Makefile
|
sys/fbdev/Makefile
|
||||||
sys/linsys/Makefile
|
sys/linsys/Makefile
|
||||||
|
sys/opensles/Makefile
|
||||||
sys/osxvideo/Makefile
|
sys/osxvideo/Makefile
|
||||||
sys/qtwrapper/Makefile
|
sys/qtwrapper/Makefile
|
||||||
sys/shm/Makefile
|
sys/shm/Makefile
|
||||||
|
|
|
@ -100,6 +100,12 @@ else
|
||||||
SHM_DIR=
|
SHM_DIR=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if USE_OPENSLES
|
||||||
|
OPENSLES_DIR=opensles
|
||||||
|
else
|
||||||
|
OPENSLES_DIR=
|
||||||
|
endif
|
||||||
|
|
||||||
# if USE_QCAM
|
# if USE_QCAM
|
||||||
# QCAM_DIR=qcam
|
# QCAM_DIR=qcam
|
||||||
# else
|
# else
|
||||||
|
@ -142,9 +148,9 @@ else
|
||||||
UVCH264_DIR=
|
UVCH264_DIR=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = $(ACM_DIR) $(ANDROID_MEDIA_DIR) $(APPLE_MEDIA_DIR) $(AVC_DIR) $(D3DVIDEOSINK_DIR) $(DECKLINK_DIR) $(DIRECTDRAW_DIR) $(DIRECTSOUND_DIR) $(DIRECTSHOW_DIR) $(DVB_DIR) $(FBDEV_DIR) $(LINSYS_DIR) $(OSX_VIDEO_DIR) $(PVR_DIR) $(QT_DIR) $(SHM_DIR) $(UVCH264_DIR) $(VCD_DIR) $(VDPAU_DIR) $(WININET_DIR) $(WINSCREENCAP_DIR)
|
SUBDIRS = $(ACM_DIR) $(ANDROID_MEDIA_DIR) $(APPLE_MEDIA_DIR) $(AVC_DIR) $(D3DVIDEOSINK_DIR) $(DECKLINK_DIR) $(DIRECTDRAW_DIR) $(DIRECTSOUND_DIR) $(DIRECTSHOW_DIR) $(DVB_DIR) $(FBDEV_DIR) $(LINSYS_DIR) $(OPENSLES_DIR) $(OSX_VIDEO_DIR) $(PVR_DIR) $(QT_DIR) $(SHM_DIR) $(UVCH264_DIR) $(VCD_DIR) $(VDPAU_DIR) $(WININET_DIR) $(WINSCREENCAP_DIR)
|
||||||
|
|
||||||
DIST_SUBDIRS = acmenc acmmp3dec androidmedia applemedia avc d3dvideosink decklink directdraw directsound dvb linsys fbdev dshowdecwrapper dshowsrcwrapper dshowvideosink \
|
DIST_SUBDIRS = acmenc acmmp3dec androidmedia applemedia avc d3dvideosink decklink directdraw directsound dvb linsys fbdev dshowdecwrapper dshowsrcwrapper dshowvideosink \
|
||||||
osxvideo pvr2d qtwrapper shm uvch264 vcd vdpau wasapi wininet winks winscreencap
|
opensles osxvideo pvr2d qtwrapper shm uvch264 vcd vdpau wasapi wininet winks winscreencap
|
||||||
|
|
||||||
include $(top_srcdir)/common/parallel-subdirs.mak
|
include $(top_srcdir)/common/parallel-subdirs.mak
|
||||||
|
|
|
@ -15,10 +15,7 @@ libgstopensles_la_LIBADD = \
|
||||||
$(GST_BASE_LIBS) \
|
$(GST_BASE_LIBS) \
|
||||||
$(GST_LIBS)
|
$(GST_LIBS)
|
||||||
libgstopensles_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -lOpenSLES
|
libgstopensles_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -lOpenSLES
|
||||||
|
|
||||||
if !GST_PLUGIN_BUILD_STATIC
|
|
||||||
libgstopensles_la_LIBTOOLFLAGS = --tag=disable-static --tag=CC
|
libgstopensles_la_LIBTOOLFLAGS = --tag=disable-static --tag=CC
|
||||||
endif
|
|
||||||
|
|
||||||
noinst_HEADERS = openslesringbuffer.h \
|
noinst_HEADERS = openslesringbuffer.h \
|
||||||
openslessink.h \
|
openslessink.h \
|
||||||
|
|
Loading…
Reference in a new issue