[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 dfa43db09336700233a4640ea0d4009478f1c330..d02682e24c20c41fe0ab66a1811ae90cc101b797 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 9327848b2693cfd4766b178644489326e8f723f5..a4bcf989a19419381991d7b1d81e39daf322ce23 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;