Skip to content

Commit 0190efb

Browse files
committed
Add bridj.quiet property so it will be less verbose
1 parent 4f688fc commit 0190efb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webcam-capture/src/main/java/com/github/sarxos/webcam/ds/buildin/WebcamDefaultDevice.java

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727

2828
public class WebcamDefaultDevice implements WebcamDevice {
2929

30+
static {
31+
if (!"true".equals(System.getProperty("webcam.debug"))) {
32+
System.setProperty("bridj.quiet", "true");
33+
}
34+
}
35+
3036
public static final Dimension SIZE_QQVGA = new Dimension(176, 144);
3137
public static final Dimension SIZE_QVGA = new Dimension(320, 240);
3238
public static final Dimension SIZE_CIF = new Dimension(352, 288);

0 commit comments

Comments
 (0)