summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2004-03-19 14:15:04 +0000
committerMichael Hunold <devnull@localhost>2004-03-19 14:15:04 +0000
commit5e5a147d453e63c0592b18c3ab4bc6e39bcc8e5f (patch)
tree2f3e77683272e171bbae5cb46853a568a8befd2e /linux/drivers/media/common
parentfce96485ce29143edec7186ce5e62e4dc544bcca (diff)
downloadmediapointer-dvb-s2-5e5a147d453e63c0592b18c3ab4bc6e39bcc8e5f.tar.gz
mediapointer-dvb-s2-5e5a147d453e63c0592b18c3ab4bc6e39bcc8e5f.tar.bz2
- copy & paste error: don't check for streaming capture twice, check for overlay video in one case
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 275043196..ed7e0f44a 100644
--- a/linux/drivers/media/common/saa7146_video.c
+++ b/linux/drivers/media/common/saa7146_video.c
@@ -1424,7 +1424,7 @@ static void video_close(struct saa7146_dev *dev, struct file *file)
if (IS_CAPTURE_ACTIVE(fh) != 0) {
err = video_end(fh, file);
- } else if (IS_CAPTURE_ACTIVE(fh) != 0) {
+ } else if (IS_OVERLAY_ACTIVE(fh) != 0) {
err = saa7146_stop_preview(fh);
}