mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
ef226d00dd
commit
452dac4550
|
@ -1249,7 +1249,8 @@ static int dvb_video_ioctl(struct inode *inode, struct file *file,
|
||||||
|
|
||||||
case VIDEO_SLOWMOTION:
|
case VIDEO_SLOWMOTION:
|
||||||
if (av7110->playing&RP_VIDEO) {
|
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)
|
if (!ret)
|
||||||
ret = vidcom(av7110, AV_VIDEO_CMD_SLOW, arg);
|
ret = vidcom(av7110, AV_VIDEO_CMD_SLOW, arg);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue