mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Disable vaapi Lock only with placebo
This commit is contained in:
parent
0621ed064d
commit
8aa807eec6
4
video.c
4
video.c
@ -2375,7 +2375,7 @@ void generateVAAPIImage(CuvidDecoder *decoder, int index, const AVFrame *frame,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// vaSyncSurface(decoder->VaDisplay, (unsigned int)frame->data[3]);
|
// vaSyncSurface(decoder->VaDisplay, (unsigned int)frame->data[3]);
|
||||||
#ifdef USE_DRM
|
#if defined USE_DRM && defined PLACEBO_GL
|
||||||
SharedContext;
|
SharedContext;
|
||||||
#else
|
#else
|
||||||
Lock_and_SharedContext;
|
Lock_and_SharedContext;
|
||||||
@ -2452,7 +2452,7 @@ void generateVAAPIImage(CuvidDecoder *decoder, int index, const AVFrame *frame,
|
|||||||
|
|
||||||
decoder->pl_frames[index].planes[n].texture = pl_tex_create(p->gpu, &tex_params);
|
decoder->pl_frames[index].planes[n].texture = pl_tex_create(p->gpu, &tex_params);
|
||||||
}
|
}
|
||||||
#ifdef USE_DRM
|
#if defined USE_DRM && defined PLACEBO_GL
|
||||||
NoContext;
|
NoContext;
|
||||||
#else
|
#else
|
||||||
Unlock_and_NoContext;
|
Unlock_and_NoContext;
|
||||||
|
Loading…
Reference in New Issue
Block a user