On 04/05/2012 06:31 PM, Justin Ruggles wrote:

> If either input or output layout is known and the channel counts match,
> use the known layout for both. Otherwise choose the default layout based on
> av_get_default_channel_layout().


An alternative to this would be:

- only guess layout for 1 and 2 channels
- if input and output channel counts differ, fail if both layouts are
not set (either by the demuxer/decoder or by the user)

If that is preferred I can change the patch accordingly. The side-effect
would be that the user will need to specify the channel layout on the
commandline in more situations.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to