From 2ba8b91a97e7e873a522f365e41a293af980c91a Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 2 Jul 2012 02:35:57 +0300 Subject: build, codec-cfg.c: simplify builtin codecs.conf handling 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. --- DOCS/tech/codecs-in.html | 181 ----------------------------------------------- 1 file changed, 181 deletions(-) delete mode 100644 DOCS/tech/codecs-in.html (limited to 'DOCS/tech/codecs-in.html') diff --git a/DOCS/tech/codecs-in.html b/DOCS/tech/codecs-in.html deleted file mode 100644 index 488512d286..0000000000 --- a/DOCS/tech/codecs-in.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - Codec Status Table - MPlayer - The Movie Player - - - - - -

Status of codecs support

- - - - - - - -
- Video codecs:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Working video codecs
codec namefourccdriver nameoutcomments
%i%F%d%Y%c
New / Untested codecs
codec namefourccdriver namecomments
%i%F%d%c
Codecs with problems
codec namefourccdriver namecomments
%i%F%d%c
Not yet working codecs:
codec namefourccdriver namecomments
%i%F%d%c
- -
Audio codecs:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Working audio codecs
codec nameformatdriver namecomments
%i%f%d%c
New / Untested codecs
codec nameformatdriver namecomments
%i%f%d%c
Codecs with problems
codec nameformatdriver namecomments
%i%f%d%c
Not yet working codecs
codec nameformatdriver namecomments
%i%f%d%c
-
- - -- cgit v1.2.3