From 201e06dc0b441c9635898e66f9b3a416904e42b3 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 8 Oct 2019 10:19:52 +0800 Subject: [PATCH] fixed #102 --- src/MediaFile/Stamp.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/MediaFile/Stamp.cpp b/src/MediaFile/Stamp.cpp index f91c9603..faf20e58 100644 --- a/src/MediaFile/Stamp.cpp +++ b/src/MediaFile/Stamp.cpp @@ -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; } - }else if(dts_out - _dts_inc > 1000){ - //直播时,不允许时间戳跳跃性增加 - dts_out = _dts_inc; } }