[FFmpeg-devel] [RFC/PATCH]MLP channel order

John Stebbins stebbins at jetheaddev.com
Tue Apr 12 22:33:38 CEST 2011


On 04/12/2011 01:00 PM, Reimar Döffinger wrote:
> On Wed, Apr 06, 2011 at 08:11:41PM +0200, Carl Eugen Hoyos wrote:
>> Attached patch fixes channel order for all mlp samples that are being output
>> incorrectly so far.
> Just for future reference: This would likely work better if
> the MLP decoder did set the channel layout.
> Currently only the parser sets it, which means it basically
> only works for FFmpeg and even there only for formats that need
> parsing.
>

Hmm, the decoder sets channels based on different header information in mlpdec (restart header) vs. mlp_parser (major 
sync).  Is one more correct than the other?  Would it be correct to set channel_layout in read_access_unit right after 
calling read_major_sync.  Should channels assignment be made consistent?


More information about the ffmpeg-devel mailing list