mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 02:38:10 +08:00
修复std::move后智能指针无效的问题
This commit is contained in:
@@ -153,7 +153,8 @@ public:
|
||||
}
|
||||
}
|
||||
bool key = pkt->isVideoKeyFrame();
|
||||
PacketCache<RtmpPacket>::inputPacket(pkt->type_id == MSG_VIDEO, std::move(pkt), key);
|
||||
bool is_video = pkt->type_id == MSG_VIDEO;
|
||||
PacketCache<RtmpPacket>::inputPacket(is_video, std::move(pkt), key);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user