Print the frame number if decoding fails

This commit is contained in:
Cameron Gutman committed 2022-10-04 23:38:54 -05:00
1 parent 9e8a4cab7b
commit bc68aad67b
3 files changed
+25 -17

No files matched your search

+2 -5
View File
@@ -84,11 +84,8 @@ private:
SDL_Thread* m_DecoderThread;
SDL_atomic_t m_DecoderThreadShouldQuit;
typedef struct {
uint64_t enqueueTimeMs;
uint32_t presentationTimeMs;
} FrameInfoTuple;
QQueue<FrameInfoTuple> m_FrameInfoQueue;
// Data buffers in the queued DU are not valid
QQueue<DECODE_UNIT> m_FrameInfoQueue;
static const uint8_t k_H264TestFrame[];
static const uint8_t k_HEVCMainTestFrame[];