From 4130584c764aecb55ccb259ad8e9816a6fd423b9 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 28 Apr 2015 22:40:51 +0200 Subject: Support CMOSIS bug resulting in missing payload --- private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'private.h') diff --git a/private.h b/private.h index a0611f3..ff36e92 100644 --- a/private.h +++ b/private.h @@ -5,9 +5,9 @@ #include #include "ipecamera.h" -//#define IPECAMERA_BUG_EXTRA_DATA -#define IPECAMERA_BUG_MULTIFRAME_PACKETS //**< this is by design, start of packet comes directly after the end of last one in streaming mode */ -//#define IPECAMERA_BUG_INCOMPLETE_PACKETS +#define IPECAMERA_BUG_MISSING_PAYLOAD //**< CMOSIS fails to provide a first payload for each frame, therefore the frame is 32 bit shorter */ +#define IPECAMERA_BUG_MULTIFRAME_PACKETS //**< This is by design, start of packet comes directly after the end of last one in streaming mode */ +//#define IPECAMERA_BUG_INCOMPLETE_PACKETS //**< Support incomplete packets, i.e. check for frame magic even if full frame size is not reached yet (slow) */ #define IPECAMERA_BUG_POSTPONED_READ #define IPECAMERA_DEBUG_BROKEN_FRAMES "/mnt/frames" //#define IPECAMERA_DEBUG_RAW_PACKETS "/mnt/frames" -- cgit v1.2.3