mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 20:14:57 +00:00
various: remove trailing whitespace
This commit is contained in:
parent
0341a6f1d3
commit
040622f6b7
@ -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)
|
||||
|
||||
|
@ -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=<name>``
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -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");
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user