mirror of https://github.com/mpv-player/mpv
2ba8b91a97
The player can read codec mapping (codecs.conf) from an external file or use embedded defaults. Before, the defaults were stored in the player binary in the form of final already-parsed data structures. Simplify things by storing the text of the codecs.conf file instead, and parse that at runtime the same way an external file would be parsed. To create the previous parsed form, the build system first compiled a separate binary named "codec-cfg", which parsed etc/codecs.conf and then wrote the results as a C data structure that could be compiled into the program. The new simple conversion of codecs.conf into a C string is handled by the new script TOOLS/file2string.py. After removing the codec-cfg binary, HOST_CC is no longer used for anything. Remove the --host-cc configure option and associated logic. Also remove the codec2html and codec-cfg-test functionality. Building those was already broken and nobody cared. There was a broken 3-character-long "fourcc" entry in etc/codecs.conf. This happened to be accepted before but triggered a parse error after the changes. Remove the broken entry and make the parsing functions explicitly test for this error. |
||
---|---|---|
.. | ||
man | ||
tech | ||
xml | ||
README | ||
default.css |
README
####################################### ## Reading the MPlayer Documentation ## ####################################### Thanks for reading MPlayer documentation !!! 1. For "release" version users (i.e. non-Subversion): a, Enter the HTML/ directory, and there you'll find the documentation, each language in its own subdirectory. b, If you prefer reading the documentation as a single big file it can be found in the file MPlayer.html, each language in its own subdirectory. c, If the HTML/ directory does not contain your language, try the subdirectories in this very same folder. 2. For "development" version users (i.e. Subversion or Subversion snapshots): a, Enter the xml/ directory, and read the README file there to find out how to build a HTML version of the XML documentation. It will be created in the HTML/ directory. b, If the xml/ directory doesn't contain your language, try the subdirectories in this very same folder.