diff options
author | stepshal <nessento@openmailbox.org> | 2016-06-26 01:07:38 +0700 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-06-26 13:47:21 +0200 |
commit | c5094206ce6ff1a557540ed6e0d8505bc6db0031 (patch) | |
tree | ed356399c9607973a0f5590a65c67bba132c87a9 /video | |
parent | 24478a8a72b17d54346fb8d648e53448c3819e9d (diff) | |
download | mpv-c5094206ce6ff1a557540ed6e0d8505bc6db0031.tar.bz2 mpv-c5094206ce6ff1a557540ed6e0d8505bc6db0031.tar.xz |
Fix misspellings
Diffstat (limited to 'video')
-rw-r--r-- | video/decode/d3d.c | 2 | ||||
-rw-r--r-- | video/gpu_memcpy.c | 2 | ||||
-rw-r--r-- | video/out/opengl/video.c | 2 | ||||
-rw-r--r-- | video/out/vo_direct3d.c | 2 | ||||
-rw-r--r-- | video/out/w32_common.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/video/decode/d3d.c b/video/decode/d3d.c index b978472723..59d2a81664 100644 --- a/video/decode/d3d.c +++ b/video/decode/d3d.c @@ -68,7 +68,7 @@ struct d3dva_mode { #define MODE2(id) &MP_CONCAT(DXVA2_Mode, id), # id #define MODE(id) &MP_CONCAT(DXVA_, id), # id -// Prefered modes must come first +// Preferred modes must come first static const struct d3dva_mode d3dva_modes[] = { // MPEG-1/2 {MODE2(MPEG2_VLD), AV_CODEC_ID_MPEG2VIDEO, PROF_MPEG2_MAIN}, diff --git a/video/gpu_memcpy.c b/video/gpu_memcpy.c index 355da0e2a2..542fbc8b50 100644 --- a/video/gpu_memcpy.c +++ b/video/gpu_memcpy.c @@ -83,7 +83,7 @@ void *gpu_memcpy(void *restrict d, const void *restrict s, size_t size) xmm15 = _mm_stream_load_si128(pSrc + 15); #endif pSrc += regsInLoop; - // _mm_store_si128 emit the SSE2 intruction MOVDQA (aligned store) + // _mm_store_si128 emit the SSE2 instruction MOVDQA (aligned store) _mm_store_si128(pTrg , xmm0); _mm_store_si128(pTrg + 1, xmm1); _mm_store_si128(pTrg + 2, xmm2); diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index f46fdc1c9f..4387208ead 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -2564,7 +2564,7 @@ static void gl_video_interpolate_frame(struct gl_video *p, struct vo_frame *t, if (t->still) gl_video_reset_surfaces(p); - // First of all, figure out if we have a frame availble at all, and draw + // First of all, figure out if we have a frame available at all, and draw // it manually + reset the queue if not if (p->surfaces[p->surface_now].pts == MP_NOPTS_VALUE) { if (!gl_video_upload_image(p, t->current)) diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index 5190095621..ed7b1dd62a 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -822,7 +822,7 @@ static bool resize_d3d(d3d_priv *priv) MP_VERBOSE(priv, "resize_d3d %dx%d called.\n", priv->vo->dwidth, priv->vo->dheight); - /* Make sure that backbuffer is large enough to accomodate the new + /* Make sure that backbuffer is large enough to accommodate the new viewport dimensions. Grow it if necessary. */ bool backbuf_resize = priv->vo->dwidth > priv->cur_backbuf_width || diff --git a/video/out/w32_common.c b/video/out/w32_common.c index f3b59f183f..c29fc51dc8 100644 --- a/video/out/w32_common.c +++ b/video/out/w32_common.c @@ -1182,7 +1182,7 @@ static void gui_thread_reconfig(void *ptr) } // Recenter window around old position on new video size - // excluding the case when initial positon handled by win_state. + // excluding the case when initial position handled by win_state. if (!pos_init) { w32->window_x += w32->dw / 2 - vo->dwidth / 2; w32->window_y += w32->dh / 2 - vo->dheight / 2; |