processing / processing-video

GStreamer-based video library for Processing
276 stars 130 forks source link

Capture.list() fails if (MacOS) laptop is closed in dock mode #156

Open ffd8 opened 4 years ago

ffd8 commented 4 years ago

Just discovered a strange bug while trying the Capture reference to list available cameras on MacOS (10.13.6) laptop in dock mode (closed lid, external monitor). No camera's were listed and code silently crashed.. nothing in draw processed... nevertheless, if removing the Capture.list(), it successfully loads the first camera it finds (an external USB cam or virtual camera) if only using the following code: cam = new Capture(this, 640, 480);. Upon opening laptop, it works as expected.

Hardware: MBP 2018 MacOS: 10.13.6 Processing: 3.5.4