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());
|
||||
}
|
||||
} 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",
|
||||
mFormatContext->streams[mVideoStreamId],
|
||||
NULL,
|
||||
|
|
Loading…
Reference in New Issue