[MPlayer-dev-eng] [PATCH] forceable software volume control

The Wanderer inverseparadox at comcast.net
Sun Nov 7 00:17:50 CET 2004


(Hmm. Again, the previous time I replied to this, my post produced a
"message undeliverable" error. Trying again, this time with unaltered
content...)

RC wrote:

> On Fri, 05 Nov 2004 05:37:18 -0500 The Wanderer
> <inverseparadox at comcast.net> wrote:
> 
>> I don't know what the problem could be... although, didn't someone
>> inquire once a few threads back about carriage return characters in
>> a patch you had sent? I don't see any in this case, but I didn't
>> see any in that previous one either, and I'm grasping at straws...
> 
> Simple fix:
> 
> tr -d '\r' < infile > outfile

And it turns out that yes, that was apparently the problem, at least
with the more recent (i.e. third) form of his patch. (I'm not as
familiar with tr as I'd like to be; it would have solved several
problems I've had in other contexts in the past, for at least one of
which I wrote an entire separate program.)

It still seems a little odd, because looking at the patch via less
showed nothing out of the ordinary, whereas usually when I use less to
view a file which contains what I believe are carriage-return
characters, they get displayed as reverse-video ^M pairs instead of as
line breaks; is it that that is actually a single-byte CRLF character?

-- 
       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-dev-eng mailing list