[MPlayer-cvslog] r30170 - trunk/libaf/af_format.h

bamiaux benoit.amiaux at gmail.com
Sun Jan 10 23:17:45 CET 2010


Hi Reimar,

On 10/01/10 22:16, Reimar Döffinger wrote:
> Before AC3 was implicitly AF_FORMAT_8BIT, so no, I can not at all agree
> that it was cleaner.
> Looking at the hwac3 code should show clearly that SPDIF AC3 is a format
> with a 16-bit "base size".
> Please try this change, but if it helps I think they did something really stupid...
> Oh, and please try what happes if you set mBitsPerChannel to 0, because
> contrary to 8 that would make at least some sense (though it might all
> be due to the rather bogus ao->packetSize = inDesc.mBytesPerPacket = inDesc.mBytesPerFrame
> calculation ao_coreaudio uses)...

Attached patch fixes the issue.
Let me know your opinion.

Bye,
Benoît
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: core.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20100110/24ef015b/attachment.txt>


More information about the MPlayer-cvslog mailing list