|
2010-02-26
, 00:45
|
|
Posts: 47 |
Thanked: 36 times |
Joined on Oct 2009
|
#42
|
|
2010-03-07
, 00:59
|
Posts: 82 |
Thanked: 214 times |
Joined on Jan 2010
@ Cape town
|
#44
|
|
2010-03-07
, 08:59
|
|
Posts: 100 |
Thanked: 240 times |
Joined on Feb 2010
@ The South Pole O.o
|
#45
|
|
2010-03-07
, 09:24
|
Posts: 182 |
Thanked: 540 times |
Joined on Aug 2009
@ Finland
|
#46
|
--- gstreamer0.10-plugins-camera-0.77/gst/v4l2cam/v4l2camsrc_calls.c.orig 2009-10-08 13:57:10 +0300 +++ gstreamer0.10-plugins-camera-0.77/gst/v4l2cam/v4l2camsrc_calls.c 2010-03-07 11:11:26 +0200 @@ -1869,7 +1869,7 @@ gst_v4l2camsrc_capture_start (GstV4l2Cam &flash_intensity); /* For still capture privacy light must be on during the capture phase */ - v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, TRUE); + v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, FALSE); switch (v4l2camsrc->photoconf.flash_mode) { case GST_PHOTOGRAPHY_FLASH_MODE_OFF: @@ -1893,7 +1893,7 @@ gst_v4l2camsrc_capture_start (GstV4l2Cam } else if (v4l2camsrc->capture_mode == GST_V4L2CAMSRC_CAPTURE_MODE_VIDEO) { /* For video recording privacy light must be on all the time */ - v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, TRUE); + v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, FALSE); } GST_V4L2CAM_STATE_UNLOCK (v4l2camsrc);
The Following 2 Users Say Thank You to abbra For This Useful Post: | ||
|
2010-04-22
, 21:51
|
Posts: 76 |
Thanked: 41 times |
Joined on Nov 2008
@ Germany
|
#47
|
|
2010-04-23
, 14:00
|
Posts: 156 |
Thanked: 90 times |
Joined on Jan 2010
|
#48
|
|
2010-04-23
, 14:12
|
|
Posts: 304 |
Thanked: 20 times |
Joined on Jan 2010
@ irvine
|
#49
|
|
2010-05-04
, 17:04
|
|
Posts: 37 |
Thanked: 5 times |
Joined on Apr 2010
|
#50
|
In order to unconditionally disable unconditional redlight one could patch GStreamer plugin 'v4l2camsrc' (available as part of gstreamer0.10-plugins-camera):
This will break your warranty and so on but if you want to keep the light down, here it is. Also, one might want to rename resulting gstreamer element to something different (gst/v4l2cam/v4l2cam.c gives this posibility), let's say to v4l2mycamsrc, and install it along with original one. In such case, by specifying it instead of v4l2camsrc in /etc/gdigicam/gdigicam-camerabin.conf would give you ability to switch the warrant and your own implementations (restarting camera app is required).Code:--- gstreamer0.10-plugins-camera-0.77/gst/v4l2cam/v4l2camsrc_calls.c.orig 2009-10-08 13:57:10 +0300 +++ gstreamer0.10-plugins-camera-0.77/gst/v4l2cam/v4l2camsrc_calls.c 2010-03-07 11:11:26 +0200 @@ -1869,7 +1869,7 @@ gst_v4l2camsrc_capture_start (GstV4l2Cam &flash_intensity); /* For still capture privacy light must be on during the capture phase */ - v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, TRUE); + v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, FALSE); switch (v4l2camsrc->photoconf.flash_mode) { case GST_PHOTOGRAPHY_FLASH_MODE_OFF: @@ -1893,7 +1893,7 @@ gst_v4l2camsrc_capture_start (GstV4l2Cam } else if (v4l2camsrc->capture_mode == GST_V4L2CAMSRC_CAPTURE_MODE_VIDEO) { /* For video recording privacy light must be on all the time */ - v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, TRUE); + v4l2camsrc->driver->set_privacy_light (v4l2camsrc->driver, FALSE); } GST_V4L2CAM_STATE_UNLOCK (v4l2camsrc);
on my n95-8gb i was able to take pictures of a4 documents and it would come out clear. then i decided to disable the red light by removing the joint on circuit and noticed it never focus right.
I then wanted to take a pic of a document but it never focused properly, it focused when i pressed the button but when it took the picture it was always blured.
if some one has installed that app that disables it maybe can test thoery