Remove custom VAAPI logging functions
This commit is contained in:
parent
f1ee1eeb63
commit
d3c2f50b20
2 changed files with 0 additions and 16 deletions
|
|
@ -26,16 +26,6 @@ VAAPIRenderer::~VAAPIRenderer()
|
|||
}
|
||||
}
|
||||
|
||||
void VAAPIRenderer::vaapiLogError(void*, const char *message)
|
||||
{
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "VAAPI: %s", message);
|
||||
}
|
||||
|
||||
void VAAPIRenderer::vaapiLogInfo(void*, const char *message)
|
||||
{
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "VAAPI: %s", message);
|
||||
}
|
||||
|
||||
bool
|
||||
VAAPIRenderer::initialize(SDL_Window* window, int, int width, int height)
|
||||
{
|
||||
|
|
@ -105,9 +95,6 @@ VAAPIRenderer::initialize(SDL_Window* window, int, int width, int height)
|
|||
return false;
|
||||
}
|
||||
|
||||
vaSetErrorCallback(vaDeviceContext->display, &VAAPIRenderer::vaapiLogError, nullptr);
|
||||
vaSetInfoCallback(vaDeviceContext->display, &VAAPIRenderer::vaapiLogInfo, nullptr);
|
||||
|
||||
int major, minor;
|
||||
VAStatus status;
|
||||
status = vaInitialize(vaDeviceContext->display, &major, &minor);
|
||||
|
|
|
|||
|
|
@ -38,9 +38,6 @@ public:
|
|||
virtual void renderFrame(AVFrame* frame);
|
||||
|
||||
private:
|
||||
static void vaapiLogError(void*, const char *message);
|
||||
static void vaapiLogInfo(void*, const char *message);
|
||||
|
||||
int m_WindowSystem;
|
||||
AVBufferRef* m_HwContext;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue