pwc
[Top] [All Lists]

Re: [pwc] Preserve user setting for another program

To:
Subject: Re: [pwc] Preserve user setting for another program
From: "Ben Lau" <>
Date: Fri, 14 Dec 2007 13:29:45 +0800
In fact , only the setting of AGC is not preserved. By looking through
the source code , I found that AGC is set to auto mode inside the
pwc_video_open. Therefore , no matter what value you have picked
inside camstream, it will restore to auto mode automatically.

Becoz I need this feature for a demonstration urgently, I have fixed
it by myself. The patch is attached in my email.

(Based on the source code come with 2.6.20.6 kernel)

On Dec 14, 2007 11:29 AM, Ben Lau <> wrote:
> Hi all,
>
>    I have a Philips SPC900NC. I would like to disable the auto AGC and
> shutter speed for another program that use GStreamer as input source.
> The camera's parameter is tuned inside Camstream, and then pressed the
> "Save user settings" button. However, the setting can not be preserved
> for another program and even for camstream itself. Open the camera
> again by camstream will restore to default setting unless the "Restore
> user setting" button was pressed.
>
>    How can I preserve the user setting for another program?
>
> Thanks.
>

Attachment: pwc-10.0.12-agc-fixed.patch
Description: Text Data

_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU