[FFmpeg-devel] [PATCH] convert to S16 when resampling is requested

Michael Niedermayer michaelni
Sun Dec 14 01:35:31 CET 2008


On Sat, Dec 13, 2008 at 03:53:15PM -0800, Baptiste Coudurier wrote:
> Hi Michael,
> 
> Michael Niedermayer wrote:
> > On Fri, Dec 12, 2008 at 12:03:17PM -0800, Baptiste Coudurier wrote:
> >> Hi,
> >> 
> >> $subject.
> > 
> > I think the audio resampler should support all input & output sample 
> > formats instead. This would be similar to swscale and would be much 
> > easier to use for applications than having these steps seperated
> 
> Well, yes, however you suggested that 3 months ago and nobody jumped in
> to work on it. In the mean time, there is still a big regression in
> FFmpeg, and I don't see anything fixed in the near future, so this
> workaround is IMHO acceptable until the most elegant solution is
> implemented.

what about moving your solution into the resampler?

I mean, so that one can later replace the X->S16->Y code by something
better without having to change the API/ABI


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081214/14ab37de/attachment.pgp>



More information about the ffmpeg-devel mailing list