Commit 40b05eb3 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed build with NDK API level 24 + removed unusued header

parent 89af5eea
......@@ -46,7 +46,7 @@ include_directories(
${MEDIASTREAMER2_INCLUDE_DIRS}
)
set(LIBS ${MEDIASTREAMER2_LIBRARIES} android camera2ndk mediandk nativewindow ${ORTP_LIBRARIES} ${BCTOOLBOX_CORE_LIBRARIES})
set(LIBS ${MEDIASTREAMER2_LIBRARIES} android camera2ndk mediandk ${ORTP_LIBRARIES} ${BCTOOLBOX_CORE_LIBRARIES})
set(SOURCE_FILES android-camera2-capture.cpp)
......
......@@ -25,6 +25,7 @@
#include <mediastreamer2/mswebcam.h>
#include <mediastreamer2/android_utils.h>
#include <android/native_window_jni.h>
#include <camera/NdkCameraCaptureSession.h>
#include <camera/NdkCameraDevice.h>
#include <camera/NdkCameraError.h>
......@@ -36,12 +37,6 @@
#include <jni.h>
#include <math.h>
#include <android/hardware_buffer.h>
#include <android/native_activity.h>
#include <android/native_window.h>
#include <android/native_window_jni.h>
#include <android/rect.h>
#include <android/window.h>
struct AndroidCamera2Device {
AndroidCamera2Device(char *id) : camId(id), orientation(0), back_facing(false) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment