pwc
[Top] [All Lists]

Re: [pwc] Preserve user setting for another program

To: Ben Lau <>
Subject: Re: [pwc] Preserve user setting for another program
From: Mathieu Bouchard <>
Date: Fri, 14 Dec 2007 03:39:42 -0500 (EST)
On Fri, 14 Dec 2007, Ben Lau wrote:

  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?

look at pwc-if.c :

        /* Initialize the webcam to sane value */
        pwc_set_brightness(pdev, 0x7fff);
        pwc_set_agc(pdev, 1, 0);

and delete that pwc_set_agc line, and perhaps the other one, too. I didn't
try it, but a while ago, I did help someone about this: I told him to try
this and he said it worked.

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
_______________________________________________
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