Allow FFmpeg decoder to self-heal in cases of UAC dialogs and other unexpected loss of hardware state
This commit is contained in:
parent
2fdfb3e998
commit
c61182bcb2
2 changed files with 36 additions and 2 deletions
|
|
@ -42,6 +42,7 @@ private:
|
|||
const AVCodecHWConfig* m_HwDecodeCfg;
|
||||
IFFmpegRenderer* m_Renderer;
|
||||
SDL_atomic_t m_QueuedFrames;
|
||||
int m_ConsecutiveFailedDecodes;
|
||||
|
||||
static const uint8_t k_H264TestFrame[];
|
||||
static const uint8_t k_HEVCTestFrame[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue