mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 06:20:05 +00:00
Validate that the codec is functional before using it. Fixes streaming failure with VAAPI if hardware lacks codec support
This commit is contained in:
1 parent
979ba2dab7
commit
c18e99c9ec
6 files changed
+187
-125
No files matched your search
@@ -35,10 +35,6 @@ private:
|
||||
static
|
||||
int ffGetBuffer2(AVCodecContext* context, AVFrame* frame, int flags);
|
||||
|
||||
static
|
||||
enum AVPixelFormat ffGetFormat(AVCodecContext*,
|
||||
const enum AVPixelFormat* pixFmts);
|
||||
|
||||
int m_VideoFormat;
|
||||
int m_VideoWidth;
|
||||
int m_VideoHeight;
|
||||
|
||||
Reference in new issue
Block a user