Increase debug level of input selection

pull/3195/head
Isaac Connor 2021-03-16 20:07:06 -04:00
parent c0242e7369
commit 8fa989f8e9
1 changed files with 2 additions and 2 deletions

View File

@ -200,10 +200,10 @@ int FfmpegCamera::Capture(ZMPacket &zm_packet) {
) ) {
// if audio stream is behind video stream, then read from audio, otherwise video
mFormatContextPtr = mSecondFormatContext;
Debug(1, "Using audio input");
Debug(2, "Using audio input");
} else {
mFormatContextPtr = mFormatContext;
Debug(1, "Using video input because %" PRId64 " >= %" PRId64,
Debug(2, "Using video input because %" PRId64 " >= %" PRId64,
(mAudioStream?av_rescale_q(mLastAudioPTS, mAudioStream->time_base, AV_TIME_BASE_Q):0),
av_rescale_q(mLastVideoPTS, mVideoStream->time_base, AV_TIME_BASE_Q)
);