mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-03-15 07:26:44 +08:00
支持v4l2编码,arm机器原生构建,docker镜像换archlinux,允许初始化时禁用HID
This commit is contained in:
@@ -55,7 +55,11 @@ public:
|
||||
callback_ = callback;
|
||||
|
||||
if (name_.find("rkmpp") != std::string::npos) {
|
||||
#ifdef AV_HWDEVICE_TYPE_RKMPP
|
||||
hw_device_type_ = AV_HWDEVICE_TYPE_RKMPP;
|
||||
#else
|
||||
set_last_error("RKMPP support not compiled in FFmpeg");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user