Try to learn if decoders support retrying avcodec_receive_frame()

This commit is contained in:
Cameron Gutman
2021-12-14 20:41:27 -06:00
parent 36e0468a99
commit 5a32992497
2 changed files with 43 additions and 2 deletions
+5
View File
@@ -74,6 +74,11 @@ private:
int m_VideoFormat;
bool m_NeedsSpsFixup;
bool m_TestOnly;
enum {
RRF_UNKNOWN,
RRF_YES,
RRF_NO
} m_CanRetryReceiveFrame;
static const uint8_t k_H264TestFrame[];
static const uint8_t k_HEVCMainTestFrame[];