@@ -1158,7 +1158,7 @@ static int motion_init(struct context *cnt)
11581158 }
11591159 /* Substream size notification*/
11601160 if ((cnt -> imgs .width % 16 ) || (cnt -> imgs .height % 16 )) {
1161- MOTION_LOG (CRT , TYPE_NETCAM , NO_ERRNO
1161+ MOTION_LOG (NTC , TYPE_NETCAM , NO_ERRNO
11621162 ,_ ("Substream not available. Image sizes not modulo 16." ));
11631163 }
11641164
@@ -1831,15 +1831,15 @@ static int mlp_retry(struct context *cnt)
18311831 MOTION_LOG (NTC , TYPE_ALL , NO_ERRNO , _ ("Camera has become available." ));
18321832
18331833 if ((cnt -> imgs .width % 8 ) || (cnt -> imgs .height % 8 )) {
1834- MOTION_LOG (NTC , TYPE_ALL , NO_ERRNO
1834+ MOTION_LOG (CRT , TYPE_ALL , NO_ERRNO
18351835 , _ ("Restarting Motion.\n"
18361836 "Image width (%d) or height(%d) requested is not modulo 8." )
18371837 ,cnt -> imgs .width , cnt -> imgs .height );
18381838 return 1 ;
18391839 }
18401840
18411841 if ((cnt -> imgs .width < 64 ) || (cnt -> imgs .height < 64 )) {
1842- MOTION_LOG (NTC , TYPE_ALL , NO_ERRNO
1842+ MOTION_LOG (CRT , TYPE_ALL , NO_ERRNO
18431843 , _ ("Restarting Motion.\n"
18441844 "Motion only supports width and height greater than or equal to 64 %dx%d" )
18451845 ,cnt -> imgs .width , cnt -> imgs .height );
0 commit comments