Fix handling of preferred/compatible pixel formats with EGLRenderer and VAAPI/DRM backends
This commit is contained in:
parent
76e81fa651
commit
c3895f06c0
7 changed files with 47 additions and 42 deletions
|
|
@ -483,6 +483,10 @@ VAAPIRenderer::canExportEGL() {
|
|||
return true;
|
||||
}
|
||||
|
||||
AVPixelFormat VAAPIRenderer::getEGLImagePixelFormat() {
|
||||
return AV_PIX_FMT_NV12;
|
||||
}
|
||||
|
||||
bool
|
||||
VAAPIRenderer::initializeEGL(EGLDisplay,
|
||||
const EGLExtensions &ext) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue