From 111b1a1566167d788fc293b13cc4d523a5a99335 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 15 Apr 2016 15:23:22 -0400 Subject: [PATCH] add back lastKeyframePkt --- src/zm_ffmpeg_camera.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zm_ffmpeg_camera.h b/src/zm_ffmpeg_camera.h index bc7ec2ecb..314ce6fa1 100644 --- a/src/zm_ffmpeg_camera.h +++ b/src/zm_ffmpeg_camera.h @@ -64,7 +64,9 @@ protected: bool wasRecording; VideoStore *videoStore; char oldDirectory[4096]; - //AVPacket lastKeyframePkt; + + // Last Key frame + AVPacket lastKeyframePkt; #if HAVE_LIBSWSCALE struct SwsContext *mConvertContext;