Skip to content

Commit

Permalink
Merge branch 'experimental' into phlash-exp
Browse files Browse the repository at this point in the history
  • Loading branch information
phlash committed Jan 30, 2022
2 parents 27d3179 + 0643e2b commit 8d3f8b9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Tested with the following software:
- Microsoft Teams
- 1.3.00.30857 (works)
- 1.3.00.5153 (works)
- 1.4.00.26453 (works)
- Chrome
- 87.0.4280.88 (works)
- 81.0.4044.138 (works)
Expand Down
2 changes: 1 addition & 1 deletion tensorflow
Submodule tensorflow updated 8202 files
5 changes: 5 additions & 0 deletions videoio/loopback.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ int loopback_init(const std::string& device, int w, int h, int debug) {
vid_format.type = V4L2_BUF_TYPE_VIDEO_OUTPUT;

ret_code = ioctl(fdwr, VIDIOC_G_FMT, &vid_format);
if(ret_code < 0) {
fprintf(stderr, "%s:%d(%s): Failed to get device video format: %s\n", __FILE__, __LINE__, __func__, strerror(errno));
close(fdwr);
return -1;
}

if(ret_code < 0) {
fprintf(stderr, "%s:%d(%s): Failed to get device video format: %s\n", __FILE__, __LINE__, __func__, strerror(errno));
Expand Down

0 comments on commit 8d3f8b9

Please sign in to comment.