From: Hans Verkuil Date: Fri, 12 Oct 2007 09:20:09 +0000 (-0300) Subject: V4L/DVB (6339): ivtv: set the video color to black instead of green when capturing... X-Git-Tag: v2.6.24-rc1~66^2~18 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4339ab93657cce9ca0e4678053ddcb68149d48fd;p=~shefty%2Frdma-dev.git V4L/DVB (6339): ivtv: set the video color to black instead of green when capturing from the radio Thanks-to: Martin Dauskardt Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/ivtv/ivtv-streams.c b/drivers/media/video/ivtv/ivtv-streams.c index fd135985e70..ff4cb16a343 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) 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);