This commit is contained in:
xiongziliang 2019-10-08 10:19:52 +08:00
parent ba71bac475
commit 201e06dc0b

View File

@ -61,9 +61,6 @@ void Stamp::revise(uint32_t dts, uint32_t pts, int64_t &dts_out, int64_t &pts_ou
//时间戳变小了?,那么取上次时间戳 //时间戳变小了?,那么取上次时间戳
dts_out = _dts_inc; dts_out = _dts_inc;
} }
}else if(dts_out - _dts_inc > 1000){
//直播时,不允许时间戳跳跃性增加
dts_out = _dts_inc;
} }
} }