Workaround amd driver bug: hevc ffmpeg/mesa misaligned resolution causing glitched video output on right/bottom side

This commit is contained in:
dec05eba
2024-06-10 12:44:40 +02:00
parent 3f0a58a1e6
commit c17a717326
4 changed files with 25 additions and 26 deletions

View File

@@ -453,7 +453,3 @@ bool gsr_card_path_get_render_path(const char *card_path, char *render_path) {
close(fd);
return false;
}
int even_number_ceil(int value) {
return value + (value & 1);
}