编码H264时支持时间戳透传,修复时间戳相关问题

This commit is contained in:
xiongziliang
2024-06-02 13:34:51 +08:00
parent 189b02e400
commit 4cd735f61d
3 changed files with 6 additions and 1 deletions

View File

@@ -27,6 +27,9 @@ public:
int iType;
int iLength;
uint8_t *pucData;
int64_t dts;
int64_t pts;
} H264Frame;
H264Encoder();