Skip to content
Snippets Groups Projects
Commit 8b00ab01 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

Check AVCodec.supported_samplerates and AVCodec.channel_layouts in

avcodec_open().

If the encoder has a channel_layouts list and AVCodecContext.channel_layout
is 0, then only print a warning and let the encoder decide how to handle it.
parent 767848d7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment