summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-02-24 10:17:34 +0100
committerwm4 <nfxjfg@googlemail.com>2017-03-02 10:32:21 +0100
commitade7c1a2326e2bb9be5e60a48b9968eb1d16bfaf (patch)
treed901ba9065495d2aa62c379731737d8cdf172c66 /doc
parent227f6e1e8d4bd23734db9769bb52cc9896e253b5 (diff)
avcodec/videotoolbox: allow not setting the kCVPixelBufferPixelFormatTypeKey
If AVVideotoolboxContext.cv_pix_fmt_type is set to 0, don't set the kCVPixelBufferPixelFormatTypeKey value on the VT decoder. This makes VT output its native format, which can be much faster on some hardware iterations (if the native format does not match with the requested format, it will be converted, which is slow). The default is still forcing nv12.
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index cd5f926b15..6922ea5268 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,10 @@ libavutil: 2015-08-28
API changes, most recent first:
+2017-03-02 - xxxxxxx - lavc 57.81.104 - videotoolbox.h
+ AVVideotoolboxContext.cv_pix_fmt_type can now be set to 0 to output the
+ native decoder format. (The default value is not changed.)
+
2017-03-02 - xxxxxxx - lavu 55.47.101, lavc 57.81.102, lavf 57.66.103
Remove requirement to use AVOption or accessors to access certain fields
in AVFrame, AVCodecContext, and AVFormatContext that were previously