mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复开启时间戳覆盖后崩溃的bug: #1848
This commit is contained in:
parent
70c7a7aa57
commit
ec3fe4350a
@ -460,7 +460,7 @@ public:
|
|||||||
FrameStamp(Frame::Ptr frame, Stamp &stamp, bool modify_stamp) {
|
FrameStamp(Frame::Ptr frame, Stamp &stamp, bool modify_stamp) {
|
||||||
_frame = std::move(frame);
|
_frame = std::move(frame);
|
||||||
//覆盖时间戳
|
//覆盖时间戳
|
||||||
stamp.revise(frame->dts(), frame->pts(), _dts, _pts, modify_stamp);
|
stamp.revise(_frame->dts(), _frame->pts(), _dts, _pts, modify_stamp);
|
||||||
}
|
}
|
||||||
~FrameStamp() override {}
|
~FrameStamp() override {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user