mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
修复设置点播速度后时间戳跳跃问题
This commit is contained in:
parent
b4fd445f2d
commit
f3f4b49332
@ -184,8 +184,10 @@ bool MP4Reader::speed(MediaSource &sender, float speed) {
|
|||||||
WarnL << "播放速度取值范围非法:" << speed;
|
WarnL << "播放速度取值范围非法:" << speed;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
//_seek_ticker重置,赋值_seek_to
|
||||||
|
setCurrentStamp(getCurrentStamp());
|
||||||
// 设置播放速度后应该恢复播放
|
// 设置播放速度后应该恢复播放
|
||||||
pause(sender, false);
|
_paused = false;
|
||||||
if (_speed == speed) {
|
if (_speed == speed) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user