Improved latency in camtoggle script (#766)
After I had 2 seconds of latency with this script on my machine, I decided to improve it using an article from the arch wiki (https://wiki.archlinux.org/index.php/Webcam_setup#mpv)
This commit is contained in:
parent
d3b1e5371a
commit
50a442998b
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
pkill -f /dev/video || mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=-0-0 --autofit=30% --title="mpvfloat" /dev/video0
|
pkill -f /dev/video || mpv --no-osc --no-input-default-bindings --input-conf=/dev/null --geometry=-0-0 --autofit=30% --title="mpvfloat" --profile=low-latency --untimed /dev/video0
|
||||||
|
|
Loading…
Reference in a new issue