Add a GenericHwAccelRenderer for unknown hwaccels

This will get us limited hardware acceleration even for hwaccels
that we don't know about yet.
This commit is contained in:
Cameron Gutman committed 2024-07-05 22:49:52 -05:00
1 parent d73df12367
commit 27b173b76b
5 files changed
+226 -114

No files matched your search

+4
View File
@@ -47,6 +47,10 @@ private:
bool isDecoderIgnored(const AVCodec* decoder);
bool tryInitializeHwAccelDecoder(PDECODER_PARAMETERS params,
int pass,
QSet<const AVCodec*>& terminallyFailedHardwareDecoders);
bool tryInitializeRendererForUnknownDecoder(const AVCodec* decoder,
PDECODER_PARAMETERS params,
bool tryHwAccel);