moonlight-qt/app/streaming/video/ffmpeg-renderers/vt.h
Cameron Gutman a093a0ae59 Restore AVSampleDisplayLayer renderer for dGPU/eGPU systems
These sometimes have issues importing decoded frames for Metal rendering.
2024-03-24 17:47:29 -05:00

18 lines
300 B
C++

#pragma once
#include "renderer.h"
// A factory is required to avoid pulling in
// incompatible Objective-C headers.
class VTMetalRendererFactory {
public:
static
IFFmpegRenderer* createRenderer();
};
class VTRendererFactory {
public:
static
IFFmpegRenderer* createRenderer();
};