V4L/DVB (5418): Speed is a signed 32-bit integer, not unsigned.
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 11 Mar 2007 13:50:03 +0000 (10:50 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:33 +0000 (15:44 -0300)
Negative speed values have to be allowed for reverse playback.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
include/linux/dvb/video.h

index 0c2a1c7c50a60c921cbd8c8c76740ff8f53bc568..4c314914339f1ef2f0a02ed3f61feb0464fc73a1 100644 (file)
@@ -110,7 +110,7 @@ struct video_command {
                } stop;
 
                struct {
-                       __u32 speed;
+                       __s32 speed;
                        __u32 format;
                } play;