Show warning when amd driver adds black bars, set frame resolution after changing video codec context resolution

This commit is contained in:
dec05eba
2024-07-24 01:29:30 +02:00
parent 7d719a44c6
commit e107adbc32
3 changed files with 12 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ static int recv_msg_from_server(int server_pid, int server_fd, gsr_kms_response
int status = 0;
int wait_result = waitpid(server_pid, &status, WNOHANG);
if(wait_result != 0) {
res = 0;
res = -1;
break;
}
usleep(1000);