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
commit 5a32992497
2 changed files with 43 additions and 2 deletions

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[];