]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6339): ivtv: set the video color to black instead of green when capturing...
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 12 Oct 2007 09:20:09 +0000 (06:20 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:44 +0000 (12:01 -0200)
Thanks-to: Martin Dauskardt <md001@gmx.de>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-streams.c

index fd135985e70f8769c4f7cd097cf11c9799490c40..ff4cb16a343975a1ccacd10059188b76d685675f 100644 (file)
@@ -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);