[MPlayer-cvslog] CVS: main/DOCS/tech codecs.conf.txt,1.5,1.6

The Wanderer inverseparadox at comcast.net
Sat Nov 20 22:51:13 CET 2004


Oops. I didn't get to this in time before application... usually there's
more of a delay than that, so I thought I'd have a bit more time. ^_^

Diego Biurrun CVS wrote:

>  users to access, or in the .mplayer directory in a user's home
>  directory. When MPlayer starts, it first looks for a codecs.conf file in a
>  user's home directory. Failing that, it searches for the shared file. If

...is this even correct? According to my understanding, which does not
seem to be readily contradicted by a quick glance at the source code,
MPlayer does not look for ~/codecs.conf but for ~/.mplayer/codecs.conf;
that does not seem to be what this says.

> -it can't find a codecs.conf file, MPlayer will refuse to run.
> +the file has syntax errors, MPlayer will not start and report the error.

I might suggest something like "If the file is not present, MPlayer will
use its internal version. If the file is present but has syntax
errors,", etc.

> -The "out" keyword identifies which output format that the decoder is known
> +The "out" keyword identifies which output format the decoder is known
>  to output.

Repetition. Suggest "is known to provide".

>  The "format" keyword performs a similar job as the fourcc line. However,
>  since certain media file formats (notably AVI) identify audio formats with
>  16-bit numbers rather than 32-bit FOURCCs, it's necessary to use this
> -convention to accomodate them. However, as shown in this example, FOURCCs
> +convention to accommodate them. However, as shown in this example, FOURCCs
>  can also be specified with the format keyword as long as they're converted
>  to their hex representation. It's important to note that this can be
>  useful for video codecs as well if a FOURCC contains a space (such as
>  Apple's "rle " codec).

Everywhere else in this patch that I've noticed, "fourcc" has been
entirely lowercase. Here, it's all caps. I'm not sure I like either of
these, and I'm not sure that any of the obvious alternatives is better,
but at the very least we should standardize on one form.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

A government exists to serve its citizens, not to control them.




More information about the MPlayer-cvslog mailing list