Commit f06b9bd4 authored by Ian Armstrong's avatar Ian Armstrong Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: ivtv: Add delay to ensure the decoder always restarts with a blank screen

Add a short delay when stopping the decoder, allowing it to settle and
preventing some unexpected interaction with other firmware commands.
Signed-off-by: default avatarIan Armstrong <>
Tested-by: default avatarMartin Dauskardt <>
Signed-off-by: default avatarAndy Walls <>
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent bd1fc7c5
......@@ -912,6 +912,9 @@ int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts)
clear_bit(IVTV_F_S_STREAMING, &s->s_flags);
/* decoder needs time to settle */
ivtv_msleep_timeout(40, 0);
/* decrement decoding */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment