ffmpeg/devices/reset
This commit is contained in:
parent
4482928678
commit
4f085af44e
1 changed files with 10 additions and 0 deletions
10
sh/ffmpeg.sh
Normal file
10
sh/ffmpeg.sh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# ╭────────┬─────────┬───────╮
|
||||||
|
# │ ffmpeg │ devices │ reset │
|
||||||
|
# ╰────────┴─────────┴───────╯
|
||||||
|
|
||||||
|
_rwx_cmd_rwx_ffmpeg_devices_reset() { rwx_ffmpeg_devices_reset "${@}"; }
|
||||||
|
rwx_ffmpeg_devices_reset() {
|
||||||
|
local module="uvcvideo"
|
||||||
|
modprobe --remove "${module}" &&
|
||||||
|
modprobe "${module}"
|
||||||
|
}
|
Loading…
Reference in a new issue