summaryrefslogtreecommitdiff
path: root/libavcodec/audiotoolboxenc.c
Commit message (Collapse)AuthorAge
* lavc/audiotoolboxenc: allow setting maxrate with pre-10.9 deployment targetsRodger Combs2016-04-02
| | | | | | | The build failure here is caused by the enum value not being defined, but as long as we're on a newer SDK that has it, it's safe to use it even when our deployment target is older. Setting the property will error, but we're not failing on errors there.
* lavc/audiotoolboxenc: fix iOS buildRodger Combs2016-04-02
|
* lavc/audiotoolboxenc: fix a number of config issuesRodger Combs2016-04-02
| | | | | | | | - size variables were used in a confusing way - incorrect size var use led to channel layouts not being set properly - channel layouts were incorrectly mapped for >2-channel AAC - bitrates not accepted by the encoder were discarded instead of being clamped - some minor style/indentation fixes
* lavc/audiotoolboxenc: remove unneeded packet metadataRodger Combs2016-04-02
| | | | | This isn't necessary here, and for some reason broke only multichannel AAC encoding when a channel layout tag was set.
* avcodec/audiotoolboxenc: Fix compile error on OS X 10.8.Dan Dennedy2016-03-26
| | | | | | | | | | Fixes error "libavcodec/audiotoolboxenc.c:294:50: error: use of undeclared identifier 'kAudioCodecPropertyPacketSizeLimitForVBR'." That was added to 10.9: https://developer.apple.com/library/mac/releasenotes/General/APIDiffsMacOSX10_9/AudioUnit.html Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc: add AudioToolbox encodersRodger Combs2016-03-22
Fixes trac #4828