From 9d2959c09213f8e09750b336044777e760c2aaef Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Fri, 12 Oct 2007 11:20:09 +0200 Subject: ivtv: set the video color to black instead of green when capturing from the radio. From: Hans Verkuil Thanks-to: Martin Dauskardt Signed-off-by: Hans Verkuil --- linux/drivers/media/video/ivtv/ivtv-streams.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/video/ivtv') diff --git a/linux/drivers/media/video/ivtv/ivtv-streams.c b/linux/drivers/media/video/ivtv/ivtv-streams.c index fd135985e..ff4cb16a3 100644 --- a/linux/drivers/media/video/ivtv/ivtv-streams.c +++ b/linux/drivers/media/video/ivtv/ivtv-streams.c @@ -478,7 +478,8 @@ int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s) s->buffers_stolen = 0; /* mute/unmute video */ - ivtv_vapi(itv, CX2341X_ENC_MUTE_VIDEO, 1, test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags) ? 1 : 0); + ivtv_vapi(itv, CX2341X_ENC_MUTE_VIDEO, 1, + test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags) ? 0x00808001 : 0); /* Clear Streamoff flags in case left from last capture */ clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags); -- cgit v1.2.3