Skip to content

Commit

Permalink
try to make it clearer that the kernel module has to be loaded
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@11862 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 6, 2016
1 parent 9a4e2b9 commit a4adf60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/xpra/platform/xposix/webcam_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ def get_virtual_video_devices():
log("get_virtual_video_devices")
v4l2_virtual_dir = "/sys/devices/virtual/video4linux"
if not os.path.exists(v4l2_virtual_dir) or not os.path.isdir(v4l2_virtual_dir):
log.warn("Warning: virtual video directory %s not found", v4l2_virtual_dir)
log.warn(" webcam forwarding disabled")
log.warn("Warning: webcam forwarding disabled")
log.warn(" the virtual video directory %s was not found", v4l2_virtual_dir)
log.warn(" make sure that the v4l2loopback kernel module is installed and loaded")
return []
contents = os.listdir(v4l2_virtual_dir)
devices = []
Expand Down

0 comments on commit a4adf60

Please sign in to comment.