#include "filexml.h"
#include "guicast.h"
#include "language.h"
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
#include "libdv.h"
#endif
#include "libmjpeg.h"
int prev_channel;
int w, h;
// Decompressors for different video drivers
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
dv_t *dv;
#endif
mjpeg_t *mjpeg;
w = xS(320);
h = yS(640);
prev_channel = 0;
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
dv = 0;
#endif
mjpeg = 0;
delete channeldb;
delete temp;
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
if(dv) dv_delete(dv);
#endif
if(mjpeg) mjpeg_delete(mjpeg);
{
switch(session->vconfig_in->driver)
{
-#ifdef HAVE_LIBDV
+#ifdef HAVE_DV
case CAPTURE_FIREWIRE:
case CAPTURE_IEC61883:
// Decompress a DV frame from the driver
#cmake_config=echo "exec cmake \$$$$@ $(1)" > ./configure; chmod +x ./configure;
cmake_config=echo 'cmake "$$$$@" "$(1)"' > ./configure; chmod +x ./configure;
+libbthread.cfg_vars?= echo "exec true" > ./configure; chmod +x ./configure;
a52dec.mak_params?= ; cd $(call bld_path,a52dec,include); ln -sf . a52dec
a52dec.cfg_vars?= CFLAGS+=" -U__FreeBSD__ $(call inc_path,djbfft)" LIBS+=" $(call ld_path,djbfft)"
a52dec.cfg_params?=--enable-djbfft
rules=$(eval $(1))
endif
+uname := $(shell uname -o)
+ifeq ($(uname), Android)
+$(call rules,$(call std-build,libbthread))
+endif
$(call rules,$(call std-build,a52dec,djbfft))
$(call rules,$(call std-build,djbfft))
$(call rules,$(call std-build,audiofile))
--- /dev/null
+--- /dev/null 2021-05-22 06:52:04.572000000 +0300
++++ libbthread-master/Makefile 2021-05-23 10:18:06.719050843 +0300
+@@ -0,0 +1,4 @@
++all:
++ cat `ls *.c` > just-pt.c
++ g++ -c -o jpt.o just-pt.c -I.
++ ar crs jpt.a jpt.o
+\ No newline at end of file