From 17726bbe386b14d986effb5ade8a958fffb7245d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 17 Oct 2018 17:19:27 -0400 Subject: [PATCH] Actually say how big the ImageBufferCOunt should be --- src/zm_ffmpeg_camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_ffmpeg_camera.cpp b/src/zm_ffmpeg_camera.cpp index f294367cc..b4f267155 100644 --- a/src/zm_ffmpeg_camera.cpp +++ b/src/zm_ffmpeg_camera.cpp @@ -870,7 +870,7 @@ int FfmpegCamera::CaptureAndRecord( Image &image, timeval recording, char* event if ( keyframe ) { Debug(3, "Clearing queue"); if ( packetqueue->packet_count(mVideoStreamId) >= monitor->GetImageBufferCount() ) { - Warning("ImageBufferCount is too small. Either increase it or decrease time between keyframes"); + Warning("ImageBufferCount is too small. Needs to be at least %d. Either increase it or decrease time between keyframes", packetqueue->packet_count(mVideoStreamId) ); } packetqueue->clearQueue(monitor->GetPreEventCount(), mVideoStreamId);