mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Support older libplacebo API
Change queue count back to 16
This commit is contained in:
parent
2562c4eac5
commit
267dccf87a
4
video.c
4
video.c
@ -4111,7 +4111,9 @@ static void CuvidMixVideo(CuvidDecoder * decoder, __attribute__((unused))
|
|||||||
colors.saturation = VideoSaturation;
|
colors.saturation = VideoSaturation;
|
||||||
colors.hue = VideoHue;
|
colors.hue = VideoHue;
|
||||||
colors.gamma = VideoGamma;
|
colors.gamma = VideoGamma;
|
||||||
|
#if PL_API_VER >= 119
|
||||||
colors.temperature = VideoTemperature;
|
colors.temperature = VideoTemperature;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (ovl) {
|
if (ovl) {
|
||||||
target->overlays = ovl;
|
target->overlays = ovl;
|
||||||
@ -5690,7 +5692,7 @@ void InitPlacebo()
|
|||||||
params.instance = p->vk_inst->instance;
|
params.instance = p->vk_inst->instance;
|
||||||
params.async_transfer = true;
|
params.async_transfer = true;
|
||||||
params.async_compute = true;
|
params.async_compute = true;
|
||||||
params.queue_count = 1;
|
params.queue_count = 16;
|
||||||
params.surface = p->pSurface;
|
params.surface = p->pSurface;
|
||||||
params.allow_software = false;
|
params.allow_software = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user