mirror of
https://github.com/cosyneco/MediaPipe.NET.git
synced 2025-05-20 17:06:26 +08:00
Fix CLR objects not being set as ptr owner (#55)
Signed-off-by: Ayane Satomi <ayane@vignetteapp.org>
This commit is contained in:
@ -12,7 +12,7 @@ namespace Mediapipe.Net.Framework.Packets
|
||||
{
|
||||
public class DetectionVectorPacket : Packet<List<Detection>>
|
||||
{
|
||||
public DetectionVectorPacket() : base() { }
|
||||
public DetectionVectorPacket() : base(true) { }
|
||||
public DetectionVectorPacket(IntPtr ptr, bool isOwner = true) : base(ptr, isOwner) { }
|
||||
|
||||
public DetectionVectorPacket? At(Timestamp timestamp) => At<DetectionVectorPacket>(timestamp);
|
||||
|
Reference in New Issue
Block a user