Only log debug message about excluding audio if there is an audio stream
parent
7f4deef4a9
commit
687d797303
|
@ -832,7 +832,9 @@ int FfmpegCamera::CaptureAndRecord( Image &image, timeval recording, char* event
|
||||||
this->getMonitor());
|
this->getMonitor());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Debug(3, "Record_audio is false so exclude audio stream");
|
if ( mAudioStreamId >= 0 ) {
|
||||||
|
Debug(3, "Record_audio is false so exclude audio stream");
|
||||||
|
}
|
||||||
videoStore = new VideoStore((const char *) event_file, "mp4",
|
videoStore = new VideoStore((const char *) event_file, "mp4",
|
||||||
mFormatContext->streams[mVideoStreamId],
|
mFormatContext->streams[mVideoStreamId],
|
||||||
NULL,
|
NULL,
|
||||||
|
|
Loading…
Reference in New Issue