various: remove trailing whitespace

This commit is contained in:
Guido Cella 2023-10-29 18:41:26 +01:00 committed by Dudemanguy
parent 0341a6f1d3
commit 040622f6b7
7 changed files with 13 additions and 13 deletions

View File

@ -203,7 +203,7 @@ Available filters are:
:Faster: This is the Rubberband R2 engine. It uses significantly less :Faster: This is the Rubberband R2 engine. It uses significantly less
CPU than the Finer (R3) engine. CPU than the Finer (R3) engine.
:Finer: This is the Rubberband R3 engine. This engine is only available :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 higher quality output, at the cost of higher CPU usage. (Default
if available) if available)

View File

@ -7149,7 +7149,7 @@ Miscellaneous
Controls the window affinity behavior of mpv. Controls the window affinity behavior of mpv.
:default: Default Windows behavior :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 :monitor: Blacks out the mpv window
``--vo-mmcss-profile=<name>`` ``--vo-mmcss-profile=<name>``

View File

@ -80,7 +80,7 @@ static bool init_rubberband(struct mp_filter *f)
int opts = p->opts->transients | p->opts->detector | p->opts->phase | int opts = p->opts->transients | p->opts->detector | p->opts->phase |
p->opts->window | p->opts->smoothing | p->opts->formant | 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 #if HAVE_RUBBERBAND_3
p->opts->engine | p->opts->engine |
#endif #endif

View File

@ -45,17 +45,17 @@ static const char *lookup_tag(int type, uint32_t tag)
} }
/* /*
* As seen in the following page: * As seen in the following page:
* *
* https://web.archive.org/web/20220406060153/ * https://web.archive.org/web/20220406060153/
* http://dream.cs.bath.ac.uk/researchdev/wave-ex/bformat.html * http://dream.cs.bath.ac.uk/researchdev/wave-ex/bformat.html
* *
* Note that the GUID struct in the above citation has its * Note that the GUID struct in the above citation has its
* integers encoded in little-endian format, which means that * integers encoded in little-endian format, which means that
* the unsigned short and unsigned long entries need to be * the unsigned short and unsigned long entries need to be
* byte-flipped for this encoding. * byte-flipped for this encoding.
* *
* In theory only the first element of this array should be used, * In theory only the first element of this array should be used,
* however some encoders incorrectly encoded the GUID byte-for-byte * however some encoders incorrectly encoded the GUID byte-for-byte
* and thus the second one exists as a fallback. * and thus the second one exists as a fallback.

View File

@ -722,7 +722,7 @@ static void mp_dl_init(void)
void *mp_dlopen(const char *filename, int flag) 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); HMODULE lib = LoadLibraryW(wfilename);
talloc_free(wfilename); talloc_free(wfilename);
mp_dl_result.errcode = GetLastError(); mp_dl_result.errcode = GetLastError();
@ -744,7 +744,7 @@ char *mp_dlerror(void)
if (mp_dl_result.errcode == 0) if (mp_dl_result.errcode == 0)
return NULL; return NULL;
// convert error code to a string message // convert error code to a string message
LPWSTR werrstring = NULL; LPWSTR werrstring = NULL;
FormatMessageW( FormatMessageW(
@ -758,12 +758,12 @@ char *mp_dlerror(void)
0, 0,
NULL); NULL);
mp_dl_result.errcode = 0; mp_dl_result.errcode = 0;
if (werrstring) { if (werrstring) {
mp_dl_result.errstring = mp_to_utf8(NULL, werrstring); mp_dl_result.errstring = mp_to_utf8(NULL, werrstring);
LocalFree(werrstring); LocalFree(werrstring);
} }
return mp_dl_result.errstring == NULL return mp_dl_result.errstring == NULL
? "unknown error" ? "unknown error"
: mp_dl_result.errstring; : mp_dl_result.errstring;

View File

@ -431,7 +431,7 @@ void vo_drm_release_crtc(struct vo_drm_state *drm)
if (request) if (request)
drmModeAtomicFree(request); drmModeAtomicFree(request);
if (!success) if (!success)
MP_ERR(drm, "Failed to restore previous mode\n"); MP_ERR(drm, "Failed to restore previous mode\n");

View File

@ -27,7 +27,7 @@
* (ust, msc): clock time and incrementing counter of last vsync (this is * (ust, msc): clock time and incrementing counter of last vsync (this is
* increased continuously, even if we don't swap) * 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 * which includes another parameter: sbc (swap counter of frame that was
* last displayed). Both the xorg present extension and wayland's * last displayed). Both the xorg present extension and wayland's
* presentation-time protocol do not include sbc values so they are omitted * presentation-time protocol do not include sbc values so they are omitted