Bug 26008

Summary: Version upgrade required
Product: Sisyphus Reporter: Vitaly Kuznetsov <vitty>
Component: zoneminderAssignee: Anton Farygin <rider>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: alecs, rider, sbolshakov
Version: unstable   
Hardware: all   
OS: Linux   

Description Vitaly Kuznetsov 2011-08-08 20:10:16 MSK
zoneminder-1.24.2 has a major bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608790) and unfunctional with v4l2 cameras. This is fixed in upstream. Version 1.24.4 seems working. There is working build with updated patch in my git repo (http://git.altlinux.org/people/vitty/packages/zoneminder.git).
Comment 1 Alex Negulescu 2011-08-09 02:53:27 MSK
Using your build i could build on my dev machine, but on git.alt, i have:

zm_sdp.cpp: In member function 'AVFormatContext* SessionDescriptor::generateFormatContext() const':
zm_sdp.cpp:332:62: error: 'av_alloc_format_context' was not declared in this scope
zm_sdp.cpp:337:42: warning: comparison between signed and unsigned integer expressions

So, I'm playing with it. If you want to try to build on git.alt, I gave you rights.
Comment 2 Vitaly Kuznetsov 2011-08-09 10:51:22 MSK
Let we ask sbolshakov@ to help us with libav :)
Comment 3 Sergey Bolshakov 2011-08-09 13:48:56 MSK
sed -i s,av_alloc_format_context,avformat_alloc_context, src/zm_sdp.cpp
Comment 4 Alex Negulescu 2011-08-26 00:35:36 MSK
Fixed in 1.24.4-alt2. Please test.