Skip to content

Commit

Permalink
V4L/DVB (6339): ivtv: set the video color to black instead of green w…
Browse files Browse the repository at this point in the history
…hen 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>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Oct 22, 2007
1 parent af3420b commit 4339ab9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/video/ivtv/ivtv-streams.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4339ab9

Please sign in to comment.