Restore AVSampleDisplayLayer renderer for dGPU/eGPU systems

These sometimes have issues importing decoded frames for Metal rendering.
This commit is contained in:
Cameron Gutman
2024-03-24 17:47:29 -05:00
parent c9ad8ffa69
commit a093a0ae59
5 changed files with 723 additions and 37 deletions
@@ -4,6 +4,13 @@
// A factory is required to avoid pulling in
// incompatible Objective-C headers.
class VTMetalRendererFactory {
public:
static
IFFmpegRenderer* createRenderer();
};
class VTRendererFactory {
public:
static