[media] saa7164: Remove V4L2_CAP_STREAMING capability flag
authorSteven Toth <stoth@kernellabs.com>
Thu, 7 Oct 2010 00:50:55 +0000 (21:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:55:31 +0000 (07:55 -0200)
Remove V4L2_CAP_STREAMING capability flag, we don't support
the ioctls. It breaks VLC otherwise.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7164/saa7164-encoder.c
drivers/media/video/saa7164/saa7164-vbi.c

index dfa43db..d02682e 100644 (file)
@@ -708,7 +708,6 @@ static int vidioc_querycap(struct file *file, void  *priv,
        cap->capabilities =
                V4L2_CAP_VIDEO_CAPTURE |
                V4L2_CAP_READWRITE     |
-               V4L2_CAP_STREAMING     |
                0;
 
        cap->capabilities |= V4L2_CAP_TUNER;
index 9327848..a4bcf98 100644 (file)
@@ -649,7 +649,6 @@ static int vidioc_querycap(struct file *file, void  *priv,
        cap->capabilities =
                V4L2_CAP_VBI_CAPTURE |
                V4L2_CAP_READWRITE     |
-               V4L2_CAP_STREAMING     |
                0;
 
        cap->capabilities |= V4L2_CAP_TUNER;