From: Steven Toth Date: Thu, 7 Oct 2010 00:50:55 +0000 (-0300) Subject: [media] saa7164: Remove V4L2_CAP_STREAMING capability flag X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=18024ee2df675ad921a8c65e7a9e22180d32da84;p=linux-beck.git [media] saa7164: Remove V4L2_CAP_STREAMING capability flag Remove V4L2_CAP_STREAMING capability flag, we don't support the ioctls. It breaks VLC otherwise. Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/saa7164/saa7164-encoder.c b/drivers/media/video/saa7164/saa7164-encoder.c index dfa43db09336..d02682e24c20 100644 --- a/drivers/media/video/saa7164/saa7164-encoder.c +++ b/drivers/media/video/saa7164/saa7164-encoder.c @@ -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; diff --git a/drivers/media/video/saa7164/saa7164-vbi.c b/drivers/media/video/saa7164/saa7164-vbi.c index 9327848b2693..a4bcf989a194 100644 --- a/drivers/media/video/saa7164/saa7164-vbi.c +++ b/drivers/media/video/saa7164/saa7164-vbi.c @@ -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;