summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-29 15:48:26 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-29 15:48:26 -0800
commitcb3970480f567588ca0cd3ce0e3b25e9e8f6f5e4 (patch)
tree16970943d91d8146cbe85ae264a83c16adba9896
parenta375e88f89b2ebd2bb485bded4e66d37b395a1fe (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/v4l.c4
-rw-r--r--src/videodev2.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/v4l.c b/src/v4l.c
index 9c6fabe..789fc5e 100644
--- a/src/v4l.c
+++ b/src/v4l.c
@@ -109,7 +109,7 @@ v4lSetup(pointer module, pointer opts, int *errmaj, int *errmin)
#define VIDEO_OFF 0 /* really off */
#define VIDEO_RGB 1 /* rgb overlay (directly to fb) */
#define VIDEO_YUV 2 /* yuv overlay (to offscreen memory + hw scaling) */
-#define VIDEO_RECLIP 3 /* temporarly off, window clipping changes */
+#define VIDEO_RECLIP 3 /* temporarily off, window clipping changes */
typedef struct _XvV4LCtrlRec {
struct v4l2_queryctrl qctrl;
@@ -1194,7 +1194,7 @@ V4LInit(ScrnInfoPtr pScrn, XF86VideoAdaptorPtr **adaptors)
/* Initialize yuv_format */
if (0 != pPPriv->yuv_format) {
- /* pass throuth scaler attributes */
+ /* pass through scaler attributes */
for (j = 0; j < pPPriv->myfmt->num_attributes; j++) {
v4l_add_attr(&VAR[i]->pAttributes, &VAR[i]->nAttributes,
pPPriv->myfmt->attributes+j);
diff --git a/src/videodev2.h b/src/videodev2.h
index bf6dde2..c21b05a 100644
--- a/src/videodev2.h
+++ b/src/videodev2.h
@@ -511,7 +511,7 @@ struct v4l2_jpegcompression {
__u32 jpeg_markers; /* Which markers should go into the JPEG
* output. Unless you exactly know what
* you do, leave them untouched.
- * Inluding less markers will make the
+ * Including less markers will make the
* resulting code smaller, but there will
* be fewer applications which can read it.
* The presence of the APP and COM marker
@@ -523,7 +523,7 @@ struct v4l2_jpegcompression {
#define V4L2_JPEG_MARKER_DRI (1<<5) /* Define Restart Interval */
#define V4L2_JPEG_MARKER_COM (1<<6) /* Comment segment */
#define V4L2_JPEG_MARKER_APP (1<<7) /* App segment, driver will
- * allways use APP0 */
+ * always use APP0 */
};
/*