[MPlayer-dev-eng] [PATCH] make -format to work with -ao pcm:nowaveheader

Giacomo Comes comes at naic.edu
Mon Aug 14 20:21:30 CEST 2006


On Sun, Aug 13, 2006 at 09:16:36PM +0200, Reimar Döffinger wrote:
> Hello,
> On Wed, Aug 09, 2006 at 10:48:04AM -0400, Giacomo Comes wrote:
> > +	} else {
> > +            bits=(((format >> 3) & 7) + 1) * 8;
> > +	}
> 
> I think there is a macro for this in af_format.h or so.
> 
> Greetings,
> Reimar Döffinger

New patch using af_fmt2bits.
I have also changed the info if -ao pcm:nowaveheader is used
from:
[AO PCM] Info: Use -format to set the format of RAW PCM files (default: s16be)
to:
[AO PCM] Info: Use -format to set the format of RAW PCM files

because the default format is the one of the input audio stream.

Giacomo



More information about the MPlayer-dev-eng mailing list