修复开启时间戳覆盖后崩溃的bug: #1848

This commit is contained in:
ziyue 2022-08-02 11:06:33 +08:00
parent 70c7a7aa57
commit ec3fe4350a

View File

@ -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 {}