up the debug level for Have Keyframe
This commit is contained in:
parent
479ea17ed5
commit
72bf8ac2b8
|
@ -582,7 +582,7 @@ int FfmpegCamera::CaptureAndRecord( Image &image, bool recording, char* event_fi
|
||||||
|
|
||||||
//Keep the last keyframe so we can establish immediate video
|
//Keep the last keyframe so we can establish immediate video
|
||||||
if(packet.flags & AV_PKT_FLAG_KEY) {
|
if(packet.flags & AV_PKT_FLAG_KEY) {
|
||||||
Debug(3, "Have keyframe");
|
Debug(4, "Have keyframe");
|
||||||
av_copy_packet(&lastKeyframePkt, &packet);
|
av_copy_packet(&lastKeyframePkt, &packet);
|
||||||
//TODO I think we need to store the key frame location for seeking as part of the event
|
//TODO I think we need to store the key frame location for seeking as part of the event
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue