ports/multimedia/zoneminder/files/patch-src_zm_local_camera.h
Boris Samorodov 3e97341844 . update to version 1.24.4; changelog:
http://www.zoneminder.com/wiki/index.php/Change_History#Release_1.24.4_-_2011.2F05.2F30;
. remove patches that were incorporated upstream;
. add a patch to fix zm_stream.cpp (add one byte to the path length);  [1]
. add one more site to MASTER_SITES.

Submitted by:	Vladimir Pushkar <vladimir.pushkar@gmail.com> (via email)  [1]
2011-06-05 11:11:35 +00:00

25 lines
1.1 KiB
C++

--- src/zm_local_camera.h.orig 2011-02-16 00:59:06.000000000 +0300
+++ src/zm_local_camera.h 2011-05-05 18:31:35.024175230 +0400
@@ -83,6 +83,14 @@ protected:
protected:
static int camera_count;
static int channel_count;
+ static int last_channel;
+static int m_cap_frame;
+static int m_cap_frame_active;
+static int m_sync_frame;
+static video_mbuf m_vmb;
+static video_mmap *m_vmm;
+static int m_videohandle;
+static unsigned char *m_buffer;
static int channels[VIDEO_MAX_FRAME];
static int standards[VIDEO_MAX_FRAME];
@@ -114,6 +122,7 @@ protected:
public:
LocalCamera( int p_id, const std::string &device, int p_channel, int p_format, const std::string &p_method, int p_width, int p_height, int p_palette, int p_brightness, int p_contrast, int p_hue, int p_colour, bool p_capture );
+ LocalCamera( const char *p_device, int p_channel, int p_format, int p_width, int p_height, int p_palette, int p_brightness, int p_contrast, int p_hue, int p_colour, bool p_capture );
~LocalCamera();
void Initialise();