diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-22 07:46:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-30 15:26:32 -0400 |
commit | ac4251445d7302697814351f1d9f548f5aa49342 (patch) | |
tree | 27f38b0759298cc23e301dada0f25ea9215f6b6b /drivers/media/video/ivtv/ivtv-fileops.c | |
parent | bc147135bc410bdd9da684646af75a188d882d56 (diff) |
V4L/DVB (5916): ivtv: fix pause/continue/play handling
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-fileops.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-fileops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fileops.c b/drivers/media/video/ivtv/ivtv-fileops.c index 8e97a938398f..baa17cbee5e1 100644 --- a/drivers/media/video/ivtv/ivtv-fileops.c +++ b/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) | |||
757 | itv->output_mode = OUT_NONE; | 757 | itv->output_mode = OUT_NONE; |
758 | 758 | ||
759 | itv->speed = 0; | 759 | itv->speed = 0; |
760 | clear_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags); | ||
760 | ivtv_release_stream(s); | 761 | ivtv_release_stream(s); |
761 | } | 762 | } |
762 | 763 | ||