First, congratulations for that impressive work !
I just tried your patch on an Ubuntu 11.04 64 bits distribution but the compilation failed :
Code: Select all
zm_local_camera.cpp: In member function âvirtual int LocalCamera::Capture(Image&)â: zm_local_camera.cpp:1819:18: warning: unused variable âdirectbufferâ zm_local_camera.cpp: At global scope: zm_local_camera.cpp:1906:2: error: expected unqualified-id before âifâ zm_local_camera.cpp: In member function âvirtual int LocalCamera::Capture(Image&)â: zm_local_camera.cpp:1904:5: warning: control reaches end of non-void function make: *** [zm_local_camera.o] Error 1 make: Leaving directory `/usr/src/ZoneMinder-1.24.4/src' make: *** [all-recursive] Error 1 make: Leaving directory `/usr/src/ZoneMinder-1.24.4' make: *** [all] Error 2
Thanks in advance.