From 18024ee2df675ad921a8c65e7a9e22180d32da84 Mon Sep 17 00:00:00 2001 From: Steven Toth Date: Wed, 6 Oct 2010 21:50:55 -0300 Subject: [PATCH] [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 --- drivers/media/video/saa7164/saa7164-encoder.c | 1 - drivers/media/video/saa7164/saa7164-vbi.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/media/video/saa7164/saa7164-encoder.c b/drivers/media/video/saa7164/saa7164-encoder.c index dfa43db..d02682e 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 9327848..a4bcf98 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; -- 2.7.4