mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Fix issue #40
This commit is contained in:
parent
ec09dbfb25
commit
14ba527a45
2
video.c
2
video.c
@ -2520,7 +2520,7 @@ void generateVAAPIImage(CuvidDecoder * decoder, int index, const AVFrame * frame
|
|||||||
|
|
||||||
for (int n = 0; n < Planes; n++) {
|
for (int n = 0; n < Planes; n++) {
|
||||||
int attribs[20] = { EGL_NONE };
|
int attribs[20] = { EGL_NONE };
|
||||||
int num_attribs = 0;
|
uint num_attribs = 0;
|
||||||
int fd;
|
int fd;
|
||||||
#if defined (VAAPI) && !defined (RASPI)
|
#if defined (VAAPI) && !defined (RASPI)
|
||||||
ADD_ATTRIB(EGL_LINUX_DRM_FOURCC_EXT, desc.layers[n].drm_format);
|
ADD_ATTRIB(EGL_LINUX_DRM_FOURCC_EXT, desc.layers[n].drm_format);
|
||||||
|
Loading…
Reference in New Issue
Block a user