Fix NV12 crash issue when recreate camera object
(new structure) does not work
This commit is contained in:
@@ -40,7 +40,7 @@ namespace ANSCENTER
|
||||
bool _isPlaying;
|
||||
std::recursive_mutex _mutex;
|
||||
|
||||
// --- Per-client inference guard ---
|
||||
// --- Per-client inference guard ---
|
||||
// Tracks how many GPU frames from this client are currently in-flight
|
||||
// (grabbed by GetRTSPCVImage but not yet released after inference).
|
||||
// Destroy() waits for this to reach 0 before freeing NVDEC surfaces,
|
||||
|
||||
Reference in New Issue
Block a user