aboutsummaryrefslogtreecommitdiffstats
path: root/doc/avplay.texi
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2016-04-14 12:21:26 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-30 08:31:08 +0200
commit74beead9bd596180bcac6108548fc0a86d8eb4ae (patch)
treed66a92f984547ae7951a5a055f2787618e204f43 /doc/avplay.texi
parent45a954f5aa35161a741fffd6c8bb92e9f91a1720 (diff)
downloadffmpeg-74beead9bd596180bcac6108548fc0a86d8eb4ae.tar.gz
mmaldec: limit internal buffering
This uses a new MMAL feature, which limits the number of extra frames that can be buffered within the decoder. VIDEO_MAX_NUM_CALLBACKS can be defined as positive or negative number. Positive numbers are absolute, and can lead to deadlocks if the user underestimates the number of required buffers. Negative numbers specify the number of extra buffers, e.g. -1 means no extra buffer, (-1-N) means N extra buffers. Set a gratuitous default of -11 (N=10). This is much lower than the firmware default, which appears to be 96. This is backwards compatible, but needs a symbol only present in newer firmware headers. (It's an enum item, so it requires a check in configure.) Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc/avplay.texi')
0 files changed, 0 insertions, 0 deletions