summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-06-27 10:43:18 +0000
committerMichael Hunold <devnull@localhost>2003-06-27 10:43:18 +0000
commitbbec8c46962ff58cd76508f46ce105839f944068 (patch)
tree33a7f220543a5fe8fc93355f850636f04523dfd5 /linux/drivers/media/common
parent8ec4808ba92a09a4202136cfcd67a6e96e78eafc (diff)
downloadmediapointer-dvb-s2-bbec8c46962ff58cd76508f46ce105839f944068.tar.gz
mediapointer-dvb-s2-bbec8c46962ff58cd76508f46ce105839f944068.tar.bz2
Don't complain when an app tries to turn *off* overlay, but
there are no overlay informations.
Diffstat (limited to 'linux/drivers/media/common')
-rw-r--r--linux/drivers/media/common/saa7146_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_video.c b/linux/drivers/media/common/saa7146_video.c
index a4049526c..77c20b528 100644
--- a/linux/drivers/media/common/saa7146_video.c
+++ b/linux/drivers/media/common/saa7146_video.c
@@ -1001,7 +1001,7 @@ int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int
int on = *(int *)arg;
int err = 0;
- if( NULL == vv->ov_fmt ) {
+ if( NULL == vv->ov_fmt && on != 0 ) {
DEB_D(("VIDIOC_OVERLAY: no framebuffer informations. call S_FBUF first!\n"));
return -EAGAIN;
}