优化判断h265是否为关键帧的代码

This commit is contained in:
ziyue
2021-06-09 10:18:47 +08:00
parent ca192a4286
commit ad2cd11eec
3 changed files with 10 additions and 21 deletions

View File

@@ -61,7 +61,7 @@ public:
bool keyFrame() const override;
bool configFrame() const override;
static bool isKeyFrame(int type, const char* ptr, uint32_t prefix_size);
static bool isKeyFrame(int type, const char* ptr);
protected:
friend class FrameImp;