avcodec/videotoolboxenc: add rc_max_bitrate control into videotoolbox
authorSteven Liu <lq@chinaffmpeg.org>
Tue, 14 Mar 2017 14:53:43 +0000 (22:53 +0800)
committerRick Kern <kernrj@gmail.com>
Wed, 15 Mar 2017 13:37:25 +0000 (09:37 -0400)
commit0052f3f527c4558d32b4f710063acb096493d99c
treeabf2bec7eed4edf561c9405957bfff1fde47f1f0
parenta283665693e1c9804b2736545dba77d0ee342f9e
avcodec/videotoolboxenc: add rc_max_bitrate control into videotoolbox

add kVTCompressionPropertyKey_DataRateLimits support by rc_max_bitrate

Reviewed-by: Rick Kern <kernrj@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavcodec/videotoolboxenc.c