aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2009-04-23 23:24:33 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:21:02 -0300
commit452dac4550f757ef263c324d967414aa6c6122d7 (patch)
treee09208d9c4acc815792780fd8c9c845be06a9abe /drivers/media/dvb/ttpci
parentef226d00dd041f753163fd3b69c7790496ab8384 (diff)
V4L/DVB (11761): dvb-ttpci: Fixed VIDEO_SLOWMOTION ioctl
Fixed VIDEO_SLOWMOTION ioctl. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r--drivers/media/dvb/ttpci/av7110_av.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_av.c b/drivers/media/dvb/ttpci/av7110_av.c
index 2adcaeff359..7b93ab9dc68 100644
--- a/drivers/media/dvb/ttpci/av7110_av.c
+++ b/drivers/media/dvb/ttpci/av7110_av.c
@@ -1249,7 +1249,8 @@ static int dvb_video_ioctl(struct inode *inode, struct file *file,
case VIDEO_SLOWMOTION:
if (av7110->playing&RP_VIDEO) {
- ret = av7110_fw_cmd(av7110, COMTYPE_REC_PLAY, __Slow, 2, 0, 0);
+ if (av7110->trickmode != TRICK_SLOW)
+ ret = av7110_fw_cmd(av7110, COMTYPE_REC_PLAY, __Slow, 2, 0, 0);
if (!ret)
ret = vidcom(av7110, AV_VIDEO_CMD_SLOW, arg);
} else {