浏览代码

V4L/DVB (5419): Add comment how the speed field is interpreted.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Hans Verkuil 18 年之前
父节点
当前提交
6816b1991f
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      include/linux/dvb/video.h

+ 5 - 0
include/linux/dvb/video.h

@@ -110,6 +110,11 @@ struct video_command {
 		} stop;
 
 		struct {
+			/* 0 or 1000 specifies normal speed,
+			   1 specifies forward single stepping,
+			   -1 specifies backward single stepping,
+			   >1: playback at speed/1000 of the normal speed,
+			   <-1: reverse playback at (-speed/1000) of the normal speed. */
 			__s32 speed;
 			__u32 format;
 		} play;