mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
62dc32250e586cb6b46e124a50de85805505e30f
When an OSD message printed to the terminal was multiple lines, the second line overwrote the status line. If that second line was shorter than the status line, awkward looking remains of the status line were left on the terminal. Fix this by writing an empty status line before printing the OSD message. This will clear the status line text. Also, print the status line again after the OSD message is printed - this makes output consistent with the single-line OSD message case. Remaining caveat: only the last line of a multiline OSD message is cleared when the OSD message is removed. But this is probably fine.
Compiling with full features requires development files for several external libraries. Below is a list of some important requirements. For more information see the output of './configure --help' for a list of options, or look at the list of enabled and disabled features printed after running './configure'. If you think you have support for some feature installed but configure fails to detect it, the file config.log may contain information about the reasons for the failure. Libraries specific to particular video output methods (you'll want at least one of VDPAU, GL or Xv): - libvdpau (for VDPAU output, best choice for NVIDIA cards) - libGL (OpenGL output) - libXv (XVideo output) general: - libasound (ALSA audio output) - various general X development libraries - libfreetype (for libass) - libfontconfig (for libass) - libass - FFmpeg libraries (libavutil libavcodec libavformat libswscale libpostproc) Most of the above libraries are available in suitable versions on normal Linux distributions. However FFmpeg is an exception (distro versions may be too old to work at all or work well). For that reason you may want to use the separately available build wrapper that first compiles FFmpeg libraries and libass, and then compiles the player statically linked against those.
Languages
C
88%
Lua
5.8%
Swift
2.3%
Meson
1.1%
Python
0.7%
Other
2.1%