diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-10-12 11:20:09 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-10-12 11:20:09 +0200 |
commit | 9d2959c09213f8e09750b336044777e760c2aaef (patch) | |
tree | 850ccfaf9b95bac5ac19e6d1b3a0df1a4b424af6 /linux/drivers/media/video/ivtv | |
parent | b7e3a1bcbb2b1d4b8ffa58856d5577a107e73671 (diff) | |
download | mediapointer-dvb-s2-9d2959c09213f8e09750b336044777e760c2aaef.tar.gz mediapointer-dvb-s2-9d2959c09213f8e09750b336044777e760c2aaef.tar.bz2 |
ivtv: set the video color to black instead of green when capturing from the radio.
From: Hans Verkuil <hverkuil@xs4all.nl>
Thanks-to: Martin Dauskardt <md001@gmx.de>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv')
-rw-r--r-- | linux/drivers/media/video/ivtv/ivtv-streams.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |