mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-10 18:28:47 +00:00
a093a0ae59
These sometimes have issues importing decoded frames for Metal rendering.
18 lines
300 B
C++
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();
|
|
};
|