mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 06:30:55 +00:00
Use AVBufferRefs to keep EGLImages and DRM FDs around for the lifetime of the frame
This commit is contained in:
@@ -512,9 +512,6 @@ public:
|
||||
EGLImage[EGL_MAX_PLANES]) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Free the resources allocated during the last `exportEGLImages` call
|
||||
virtual void freeEGLImages() {}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DRM
|
||||
@@ -526,8 +523,6 @@ public:
|
||||
virtual bool mapDrmPrimeFrame(AVFrame*, AVDRMFrameDescriptor*) {
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual void unmapDrmPrimeFrame(AVDRMFrameDescriptor*) {}
|
||||
#endif
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user