On Fri, 2007-12-14 at 03:39 -0500, Mathieu Bouchard wrote:
> 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.
although you found it out already yourself, i can say that deleting the
line mathieu mentioned worked for me with the little side effect, that
the led doesn't turn off after the device isn't used anymore.
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
http://mail.yahoo.de
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|