尝试修复时间戳回环或乱序导致的问题

This commit is contained in:
xiongziliang
2019-08-02 17:33:31 +08:00
parent 36803ccedc
commit 6a9eb8d54b
2 changed files with 27 additions and 9 deletions

View File

@@ -76,8 +76,8 @@ protected:
private:
struct track_info{
int track_id = -1;
uint32_t start_dts = 0;
uint32_t start_pts = 0;
int64_t start_dts = 0;
int64_t dts_inc = 0;
};
map<CodecId,track_info> _codec_to_trackid;
bool _started = false;