summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/ivtv/ivtv-fileops.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-22 13:46:38 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2007-07-22 13:46:38 +0200
commit8f46127ad25d8ef733cb81cf3c1442abac047851 (patch)
tree13c04adff8551b8e8134068457141be506216aa1 /linux/drivers/media/video/ivtv/ivtv-fileops.c
parent09de97070903fecead7c3b0283a0234b28e28223 (diff)
downloadmediapointer-dvb-s2-8f46127ad25d8ef733cb81cf3c1442abac047851.tar.gz
mediapointer-dvb-s2-8f46127ad25d8ef733cb81cf3c1442abac047851.tar.bz2
ivtv: fix pause/continue/play handling
From: Hans Verkuil <hverkuil@xs4all.nl> Pausing a decoder followed by a Play command would do nothing. Fixed. Pausing a decoder running at non-standard speed following by a Continue would reset the speed to 100%. Fixed. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/ivtv/ivtv-fileops.c')
-rw-r--r--linux/drivers/media/video/ivtv/ivtv-fileops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/ivtv/ivtv-fileops.c b/linux/drivers/media/video/ivtv/ivtv-fileops.c
index 8e97a9383..baa17cbee 100644
--- a/linux/drivers/media/video/ivtv/ivtv-fileops.c
+++ b/linux/drivers/media/video/ivtv/ivtv-fileops.c
@@ -757,6 +757,7 @@ static void ivtv_stop_decoding(struct ivtv_open_id *id, int flags, u64 pts)
itv->output_mode = OUT_NONE;
itv->speed = 0;
+ clear_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags);
ivtv_release_stream(s);
}