mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-28 15:00:21 +00:00
Move VT decoding support detection into a single base class
This commit is contained in:
1 parent
c707dab70a
commit
e548697a36
5 files changed
+90
-143
No files matched your search
@@ -2,6 +2,14 @@
|
||||
|
||||
#include "renderer.h"
|
||||
|
||||
#ifdef __OBJC__
|
||||
#import <Metal/Metal.h>
|
||||
class VTBaseRenderer : public IFFmpegRenderer {
|
||||
public:
|
||||
bool checkDecoderCapabilities(id<MTLDevice> device, PDECODER_PARAMETERS params);
|
||||
};
|
||||
#endif
|
||||
|
||||
// A factory is required to avoid pulling in
|
||||
// incompatible Objective-C headers.
|
||||
|
||||
|
||||
Reference in new issue
Block a user