Increase debug level of input selection
parent
c0242e7369
commit
8fa989f8e9
|
@ -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)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue