Allow both hevc and h265 (as alias)

This commit is contained in:
dec05eba
2023-11-30 17:47:04 +01:00
parent f9e067b828
commit 31e54bdc85
2 changed files with 3 additions and 3 deletions

View File

@@ -199,7 +199,7 @@ int gsr_kms_client_init(gsr_kms_client *self, const char *card_path) {
} else {
cap_t kms_server_cap = cap_get_file(server_filepath);
if(kms_server_cap) {
cap_flag_value_t res = 0;
cap_flag_value_t res = CAP_CLEAR;
cap_get_flag(kms_server_cap, CAP_SYS_ADMIN, CAP_PERMITTED, &res);
if(res == CAP_SET) {
//fprintf(stderr, "has permission!\n");