Search found 7 matches

by dclarke
Wed Mar 24, 2010 7:04 pm
Forum: User Contributions
Topic: [FIX] ZM 1.24.2 "Error, failed to query crop"
Replies: 27
Views: 40290

Are you sure you ran the changed version of the program? The fix is in a library used in a lot of programs; did all the referencing programs (including zmu) get recompiled and updated? That "Invalid argument" message comes from perror() on errno=EINVAL, but the fix explicitly catches errno...
by dclarke
Sat Feb 13, 2010 4:49 am
Forum: User Contributions
Topic: [FIX] ZM 1.24.2 "Error, failed to query crop"
Replies: 27
Views: 40290

It is a bug fix in the source code; I don't see any work-around other than rebuilding from source code. If you're relying on a pre-compiled distribution you're going to have to wait for your distro provider to update.

I know that's not what you wanted to hear, but them's the facts. Sorry.
by dclarke
Wed Feb 10, 2010 3:57 am
Forum: ZoneMinder 1.24.x
Topic: No video in ZM, but XAWTV works fine...
Replies: 20
Views: 20021

tburt11 was on the right track.

See http://www.zoneminder.com/forums/viewto ... 9472#59472
by dclarke
Wed Feb 10, 2010 3:47 am
Forum: User Contributions
Topic: [FIX] ZM 1.24.2 "Error, failed to query crop"
Replies: 27
Views: 40290

[FIX] ZM 1.24.2 "Error, failed to query crop"

A USB camera that doesn't support cropping will produce an error message "Error, failed to query crop: /dev/video0: Invalid argument" from zmu -q -v. Failures are exhibited in zmu, and other places that rely on LocalCamera::GetCurrentSettings. The fault is in LocalCamera::GetCurrentSetting...