aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-10-12 05:20:09 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-22 10:01:44 -0400
commit4339ab93657cce9ca0e4678053ddcb68149d48fd (patch)
tree7f42e42bd0a42def3c2273b3097dcb4f9b1bdfb9 /drivers/media
parentaf3420b4495914a1a889ae7de0220c793461ba1f (diff)
V4L/DVB (6339): ivtv: set the video color to black instead of green when capturing from the radio
Thanks-to: Martin Dauskardt <md001@gmx.de> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/ivtv/ivtv-streams.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-streams.c b/drivers/media/video/ivtv/ivtv-streams.c
index fd135985e70f..ff4cb16a3439 100644
--- a/drivers/media/video/ivtv/ivtv-streams.c
+++ b/drivers/media/video/ivtv/ivtv-streams.c
@@ -478,7 +478,8 @@ int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s)
478 s->buffers_stolen = 0; 478 s->buffers_stolen = 0;
479 479
480 /* mute/unmute video */ 480 /* mute/unmute video */
481 ivtv_vapi(itv, CX2341X_ENC_MUTE_VIDEO, 1, test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags) ? 1 : 0); 481 ivtv_vapi(itv, CX2341X_ENC_MUTE_VIDEO, 1,
482 test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags) ? 0x00808001 : 0);
482 483
483 /* Clear Streamoff flags in case left from last capture */ 484 /* Clear Streamoff flags in case left from last capture */
484 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); 485 clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags);