mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Move VT decoding support detection into a single base class
This commit is contained in:
@@ -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