Commit ec3fe435 by ziyue

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

parent 70c7a7aa
...@@ -460,7 +460,7 @@ public: ...@@ -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 {}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论