freebsd-ports/multimedia/vdr-plugin-wirbelscan/files/patch-scanner.c
Juergen Lock a37a080307 - Update multimedia/vdr to 1.7.19 (with parts of the update reverted
to avoid a known bug.)
- Fix build with clang for vdr and plugins, and also fix a few bugs it
  uncovered.
- Bump PORTREVISION for all plugins.
2011-06-25 19:02:08 +00:00

11 lines
444 B
C

--- a/scanner.c
+++ b/scanner.c
@@ -633,7 +633,7 @@ void cScanner::Action(void) {
else
continue;
cCondWait::SleepMs(2000);
- vbiSupport = vcap.capabilities & (V4L2_CAP_VBI_CAPTURE || V4L2_CAP_SLICED_VBI_CAPTURE);
+ vbiSupport = vcap.capabilities & (V4L2_CAP_VBI_CAPTURE | V4L2_CAP_SLICED_VBI_CAPTURE);
if (vbiSupport)
dlog(1, "device can capture vbi");
}