mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-19 13:36:59 -04:00
Log message only for audio cameras
This commit is contained in:
@@ -1294,12 +1294,14 @@ static int movie_passthru_open(struct ctx_movie *movie)
|
||||
return -1;
|
||||
}
|
||||
|
||||
MOTION_LOG(DBG, TYPE_ENCODER, NO_ERRNO
|
||||
, _("Timebase after open audio: %d/%d video: %d/%d")
|
||||
, movie->strm_audio->time_base.num
|
||||
, movie->strm_audio->time_base.den
|
||||
, movie->strm_video->time_base.num
|
||||
, movie->strm_video->time_base.den);
|
||||
if (movie->strm_audio != NULL) {
|
||||
MOTION_LOG(DBG, TYPE_ENCODER, NO_ERRNO
|
||||
, _("Timebase after open audio: %d/%d video: %d/%d")
|
||||
, movie->strm_audio->time_base.num
|
||||
, movie->strm_audio->time_base.den
|
||||
, movie->strm_video->time_base.num
|
||||
, movie->strm_video->time_base.den);
|
||||
}
|
||||
|
||||
MOTION_LOG(INF, TYPE_ENCODER, NO_ERRNO, "Pass-through stream opened");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user