Fix open-h264 encoding for AMD GPU

own_2024-03-26
Jonas Letzbor 2024-03-26 20:38:31 +01:00
parent 0ca285a3e0
commit de74040b39
Signed by: RPJosh
GPG Key ID: 43ACB900522EA740
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ static struct wv_buffer* wv_buffer_create_dmabuf(int width, int height,
self->bo = have_linux_cma() ? self->bo = have_linux_cma() ?
create_cma_gbm_bo(width, height, fourcc) : create_cma_gbm_bo(width, height, fourcc) :
gbm_bo_create(gbm_device, width, height, fourcc, gbm_bo_create(gbm_device, width, height, fourcc,
GBM_BO_USE_RENDERING); GBM_BO_USE_RENDERING | GBM_BO_USE_SCANOUT);
if (!self->bo) if (!self->bo)
goto bo_failure; goto bo_failure;