Correct spelling mistakes found with Codespell

This commit is contained in:
Casey Korver
2023-07-09 08:24:53 -05:00
committed by Cameron Gutman
parent e287ebcded
commit ea06ec0133
11 changed files with 14 additions and 14 deletions

View File

@@ -818,7 +818,7 @@ bool Session::validateLaunch(SDL_Window* testWindow)
m_StreamConfig.supportedVideoFormats &= ~VIDEO_FORMAT_MASK_10BIT;
}
else {
// TODO: Also validate display capabilites
// TODO: Also validate display capabilities
}
}

View File

@@ -742,7 +742,7 @@ bool DrmRenderer::mapSoftwareFrame(AVFrame *frame, AVDRMFrameDescriptor *mappedF
else {
// UV/VU planes are 2x2 subsampled.
//
// NB: The pitch is the same between Y and UV/VU, becasuse the 2x subsampling
// NB: The pitch is the same between Y and UV/VU, because the 2x subsampling
// is cancelled out by the 2x plane size of UV/VU vs U/V alone.
planeHeight = frame->height / 2;
}

View File

@@ -463,7 +463,7 @@ bool EGLRenderer::initialize(PDECODER_PARAMETERS params)
return false;
}
// This hint will ensure we use EGL to retreive our GL context,
// This hint will ensure we use EGL to retrieve our GL context,
// even on X11 where that is not the default. EGL is required
// to avoid a crash in Mesa.
// https://gitlab.freedesktop.org/mesa/mesa/issues/1011

View File

@@ -40,7 +40,7 @@ bool WaylandVsyncSource::initialize(SDL_Window* window, int)
return false;
}
// Pacer shoud not create us for non-Wayland windows
// Pacer should not create us for non-Wayland windows
SDL_assert(info.subsystem == SDL_SYSWM_WAYLAND);
m_Display = info.info.wl.display;

View File

@@ -249,7 +249,7 @@ public:
return -1;
}
// Free the ressources allocated during the last `exportEGLImages` call
// Free the resources allocated during the last `exportEGLImages` call
virtual void freeEGLImages(EGLDisplay, EGLImage[EGL_MAX_PLANES]) {}
#endif

View File

@@ -891,7 +891,7 @@ bool FFmpegVideoDecoder::tryInitializeRendererForDecoderByName(const char *decod
for (int i = 0;; i++) {
const AVCodecHWConfig *config = avcodec_get_hw_config(decoder, i);
if (!config) {
// No remaing hwaccel options
// No remaining hwaccel options
break;
}
@@ -1067,7 +1067,7 @@ bool FFmpegVideoDecoder::initialize(PDECODER_PARAMETERS params)
for (int i = 0;; i++) {
const AVCodecHWConfig *config = avcodec_get_hw_config(decoder, i);
if (!config) {
// No remaing hwaccel options
// No remaining hwaccel options
break;
}
@@ -1109,7 +1109,7 @@ bool FFmpegVideoDecoder::initialize(PDECODER_PARAMETERS params)
for (int i = 0;; i++) {
const AVCodecHWConfig *config = avcodec_get_hw_config(decoder, i);
if (!config) {
// No remaing hwaccel options
// No remaining hwaccel options
break;
}