Fix spelling/grammar mistakes

This commit is contained in:
Ximin Luo
2016-09-28 16:40:10 +02:00
parent f6ff8573f0
commit 8ea65f7a1f
6 changed files with 9 additions and 9 deletions

2
conf.c
View File

@@ -278,7 +278,7 @@ config_param config_params[] = {
},
{
"v4l2_palette",
"# v4l2_palette allows to choose preferable palette to be use by motion\n"
"# v4l2_palette allows one to choose preferable palette to be use by motion\n"
"# to capture from those supported by your videodevice. (default: 17)\n"
"# E.g. if your videodevice supports both V4L2_PIX_FMT_SBGGR8 and\n"
"# V4L2_PIX_FMT_MJPEG then motion will by default use V4L2_PIX_FMT_MJPEG.\n"

View File

@@ -465,7 +465,7 @@ else
saved_LIBS=$LIBS
# first we check to see if the sqlite3 amalgamation (sqlite3.c), is in with our source
# this is the prefered way to use sqlite
# this is the preferred way to use sqlite
if test -f sqlite3.c; then
SQLITE3_SUPPORT="yes"
VIDEO="$VIDEO sqlite3.o"

View File

@@ -565,7 +565,7 @@ static void event_extpipe_put(struct context *cnt,
/* Check that is open */
if ((cnt->extpipe_open) && (fileno(cnt->extpipe) > 0)) {
if (!fwrite(img, cnt->imgs.size, 1, cnt->extpipe))
MOTION_LOG(ERR, TYPE_EVENTS, SHOW_ERRNO, "%s: Error writting in pipe , state error %d",
MOTION_LOG(ERR, TYPE_EVENTS, SHOW_ERRNO, "%s: Error writing in pipe , state error %d",
ferror(cnt->extpipe));
} else {
MOTION_LOG(ERR, TYPE_EVENTS, NO_ERRNO, "%s: pipe %s not created or closed already ",

View File

@@ -38,7 +38,7 @@ log_type all
# for FreeBSD default is /dev/bktr0
videodevice /dev/video0
# v4l2_palette allows to choose preferable palette to be use by motion
# v4l2_palette allows one to choose preferable palette to be use by motion
# to capture from those supported by your videodevice. (default: 17)
# E.g. if your videodevice supports both V4L2_PIX_FMT_SBGGR8 and
# V4L2_PIX_FMT_MJPEG then motion will by default use V4L2_PIX_FMT_MJPEG.

View File

@@ -137,7 +137,7 @@ Description:
.fi
.RS
String to specify the videodevice to be used for capturing.
For Linux, the format is usually /dev/videoX where X varies depending upon the video devices connnected to the computer.
For Linux, the format is usually /dev/videoX where X varies depending upon the video devices connected to the computer.
For FreeBSD the default device would be /dev/bktr0.
.RE
.RE
@@ -171,8 +171,8 @@ Default: 17
Description:
.fi
.RS
The v4l2_palette option allows users to choose the prefered palette to be use by motion to capture from the video device.
If the prefered palette is not available from the video device, Motion will attempt to use palettes that are supported.
The v4l2_palette option allows users to choose the preferred palette to be use by motion to capture from the video device.
If the preferred palette is not available from the video device, Motion will attempt to use palettes that are supported.
.RE
.RE

View File

@@ -903,7 +903,7 @@ int put_picture_memory(struct context *cnt, unsigned char* dest_image, int image
return put_jpeg_grey_memory(dest_image, image_size, image,
cnt->imgs.width, cnt->imgs.height, quality);
default:
MOTION_LOG(WRN, TYPE_ALL, NO_ERRNO, "%s: Unknow image type %d",
MOTION_LOG(WRN, TYPE_ALL, NO_ERRNO, "%s: Unknown image type %d",
cnt->imgs.type);
}
@@ -923,7 +923,7 @@ void put_picture_fd(struct context *cnt, FILE *picture, unsigned char *image, in
put_jpeg_grey_file(picture, image, cnt->imgs.width, cnt->imgs.height, quality);
break;
default:
MOTION_LOG(WRN, TYPE_ALL, NO_ERRNO, "%s: Unknow image type %d",
MOTION_LOG(WRN, TYPE_ALL, NO_ERRNO, "%s: Unknown image type %d",
cnt->imgs.type);
}
}