Commit 6bb509b4 authored by Alexander Smorkalov's avatar Alexander Smorkalov Committed by Andrey Kamaev

Android 4.1.1 native camera fix. BufferQueue class is used instaed of Surface…

Android 4.1.1 native camera fix. BufferQueue class is used instaed of Surface texture. Includes in cmake updated.
parent ca6e85f5
...@@ -58,9 +58,6 @@ ...@@ -58,9 +58,6 @@
using namespace android; using namespace android;
void debugShowFPS();
#if defined(ANDROID_r4_1_1)
class ConsumerListenerStub: public BufferQueue::ConsumerListener class ConsumerListenerStub: public BufferQueue::ConsumerListener
{ {
public: public:
...@@ -71,7 +68,6 @@ public: ...@@ -71,7 +68,6 @@ public:
{ {
} }
}; };
#endif
void debugShowFPS() void debugShowFPS()
{ {
...@@ -281,7 +277,7 @@ public: ...@@ -281,7 +277,7 @@ public:
virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr
#if defined(ANDROID_r4_0_0) || defined(ANDROID_r4_0_3) || defined(ANDROID_r4_1_1) #if defined(ANDROID_r4_0_0) || defined(ANDROID_r4_0_3) || defined(ANDROID_r4_1_1)
,camera_frame_metadata_t* ,camera_frame_metadata_t* metadata
#endif #endif
) )
{ {
......
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