Use yuv and fix FR to use batch 4
This commit is contained in:
@@ -299,7 +299,7 @@ protected:
|
||||
static const int SETTLE_FRAME_COUNT = 5; // Number of clean frames before delivering new frames
|
||||
|
||||
// Frame rate limiting — skip post-decode processing for frames beyond target interval
|
||||
double m_targetIntervalMs = 100.0; // default 100ms (~10 FPS), 0 = no limit (process all frames)
|
||||
double m_targetIntervalMs = 0.0; // 0 = no limit (process all frames), e.g. 100 = ~10 FPS
|
||||
std::chrono::steady_clock::time_point m_lastProcessedTime; // timestamp of last processed frame
|
||||
bool m_targetFPSInitialized = false; // first-frame flag
|
||||
|
||||
|
||||
Reference in New Issue
Block a user