Restore AVSampleDisplayLayer renderer for dGPU/eGPU systems
These sometimes have issues importing decoded frames for Metal rendering.
This commit is contained in:
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue