[MPlayer-DOCS] [PATCH] -ao pcm hintinfo message

The Wanderer inverseparadox at comcast.net
Mon Sep 19 12:49:22 CEST 2005


Ivo wrote:

> Hi,
> 
> This patch fixes the -ao pcm hintinfo message. It's stll saying:
> 
> to write WAVE files use -waveheader
> 
> which should be -ao pcm:waveheader.
> 
> I'm not sure if vim preserves all the international characters used
> in different translations, so I didn't want to commit it right away.
> I could have just fixed the mp-en version, but since it should be
> fairly trivial to fix it for all translations at once, I thought that
> was silly.
> 
> If somebody can assure me this is OK to commit, I will.

I'm not sure whether it's clear to commit or not, although it seems like
it should be comparatively easy to check, but:

> Otherwise, tell me how I can make it work without fscking up the
> translations :)

for i in `ls help/help_mp-??.h` ; do cat ${i} | sed "s/-waveheader/-ao
pcm:waveheader/g" > ${i}.tmp && mv ${i}.tmp ${i} ; done

would be my guess; as far as I know, sed does in fact leave all
unmatched bytes completely alone (and at any rate the results seem fine
on my own machine).

At a glance the resulting diffs (or the few individual ones I've looked
at) seem to be the same as the ones in your patch, but I'm not in a
position to say for certain.

-- 
       The Wanderer

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

Secrecy is the beginning of tyranny.




More information about the MPlayer-DOCS mailing list