mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 03:10:04 +08:00
fixed #102
This commit is contained in:
parent
ba71bac475
commit
201e06dc0b
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user