mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +00:00
Fixup H.264 SPS for VideoToolbox compatibility. Fixes #98
This commit is contained in:
1 parent
44f415f94d
commit
4f84843b00
8 files changed
+140
-12
No files matched your search
@@ -40,6 +40,8 @@ private:
|
||||
|
||||
void reset();
|
||||
|
||||
void writeBuffer(PLENTRY entry, int& offset);
|
||||
|
||||
static
|
||||
enum AVPixelFormat ffGetFormat(AVCodecContext* context,
|
||||
const enum AVPixelFormat* pixFmts);
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
VIDEO_STATS m_GlobalVideoStats;
|
||||
int m_LastFrameNumber;
|
||||
int m_StreamFps;
|
||||
bool m_NeedsSpsFixup;
|
||||
|
||||
static const uint8_t k_H264TestFrame[];
|
||||
static const uint8_t k_HEVCTestFrame[];
|
||||
|
||||
Reference in new issue
Block a user