Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4339ab93 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (6339): ivtv: set the video color to black instead of green when capturing from the radio



Thanks-to: Martin Dauskardt <md001@gmx.de>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent af3420b4
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -478,7 +478,8 @@ int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s)
	s->buffers_stolen = 0;
	s->buffers_stolen = 0;


	/* mute/unmute video */
	/* 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 Streamoff flags in case left from last capture */
	clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags);
	clear_bit(IVTV_F_S_STREAMOFF, &s->s_flags);