diff --git a/src/Extension/Frame.h b/src/Extension/Frame.h index 0ee446b7..46a61d60 100644 --- a/src/Extension/Frame.h +++ b/src/Extension/Frame.h @@ -460,7 +460,7 @@ public: FrameStamp(Frame::Ptr frame, Stamp &stamp, bool modify_stamp) { _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 {}