diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst index 77abd2ff15..4360adad09 100644 --- a/DOCS/man/af.rst +++ b/DOCS/man/af.rst @@ -203,7 +203,7 @@ Available filters are: :Faster: This is the Rubberband R2 engine. It uses significantly less CPU than the Finer (R3) engine. :Finer: This is the Rubberband R3 engine. This engine is only available - with librubberband version 3 or newer. This produces significantly + with librubberband version 3 or newer. This produces significantly higher quality output, at the cost of higher CPU usage. (Default if available) diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 920ae781f5..edfc462f4a 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -7149,7 +7149,7 @@ Miscellaneous Controls the window affinity behavior of mpv. :default: Default Windows behavior - :excludefromcapture: mpv's window will be completely excluded from capture by external applications or screen recording software. + :excludefromcapture: mpv's window will be completely excluded from capture by external applications or screen recording software. :monitor: Blacks out the mpv window ``--vo-mmcss-profile=`` diff --git a/audio/filter/af_rubberband.c b/audio/filter/af_rubberband.c index 40b0c7188b..48e5cc1e86 100644 --- a/audio/filter/af_rubberband.c +++ b/audio/filter/af_rubberband.c @@ -80,7 +80,7 @@ static bool init_rubberband(struct mp_filter *f) int opts = p->opts->transients | p->opts->detector | p->opts->phase | p->opts->window | p->opts->smoothing | p->opts->formant | - p->opts->pitch | p->opts->channels | + p->opts->pitch | p->opts->channels | #if HAVE_RUBBERBAND_3 p->opts->engine | #endif diff --git a/demux/codec_tags.c b/demux/codec_tags.c index 0e7b13ce6d..55700d9ac3 100644 --- a/demux/codec_tags.c +++ b/demux/codec_tags.c @@ -45,17 +45,17 @@ static const char *lookup_tag(int type, uint32_t tag) } -/* +/* * As seen in the following page: - * + * * https://web.archive.org/web/20220406060153/ * http://dream.cs.bath.ac.uk/researchdev/wave-ex/bformat.html - * + * * Note that the GUID struct in the above citation has its * integers encoded in little-endian format, which means that * the unsigned short and unsigned long entries need to be * byte-flipped for this encoding. - * + * * In theory only the first element of this array should be used, * however some encoders incorrectly encoded the GUID byte-for-byte * and thus the second one exists as a fallback. diff --git a/osdep/io.c b/osdep/io.c index 790caf6ec6..d35c0ce0e1 100644 --- a/osdep/io.c +++ b/osdep/io.c @@ -722,7 +722,7 @@ static void mp_dl_init(void) void *mp_dlopen(const char *filename, int flag) { - wchar_t *wfilename = mp_from_utf8(NULL, filename); + wchar_t *wfilename = mp_from_utf8(NULL, filename); HMODULE lib = LoadLibraryW(wfilename); talloc_free(wfilename); mp_dl_result.errcode = GetLastError(); @@ -744,7 +744,7 @@ char *mp_dlerror(void) if (mp_dl_result.errcode == 0) return NULL; - + // convert error code to a string message LPWSTR werrstring = NULL; FormatMessageW( @@ -758,12 +758,12 @@ char *mp_dlerror(void) 0, NULL); mp_dl_result.errcode = 0; - + if (werrstring) { mp_dl_result.errstring = mp_to_utf8(NULL, werrstring); LocalFree(werrstring); } - + return mp_dl_result.errstring == NULL ? "unknown error" : mp_dl_result.errstring; diff --git a/video/out/drm_common.c b/video/out/drm_common.c index 67cac7a908..293948b614 100644 --- a/video/out/drm_common.c +++ b/video/out/drm_common.c @@ -431,7 +431,7 @@ void vo_drm_release_crtc(struct vo_drm_state *drm) if (request) drmModeAtomicFree(request); - + if (!success) MP_ERR(drm, "Failed to restore previous mode\n"); diff --git a/video/out/present_sync.c b/video/out/present_sync.c index 618c53e6a2..a04d764712 100644 --- a/video/out/present_sync.c +++ b/video/out/present_sync.c @@ -27,7 +27,7 @@ * (ust, msc): clock time and incrementing counter of last vsync (this is * increased continuously, even if we don't swap) * - * Note that this concept originates from the GLX_OML_sync_control extension + * Note that this concept originates from the GLX_OML_sync_control extension * which includes another parameter: sbc (swap counter of frame that was * last displayed). Both the xorg present extension and wayland's * presentation-time protocol do not include sbc values so they are omitted