diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-09-23 20:27:24 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-10-04 19:34:04 +0200 |
commit | 65db4899fa8790049bec3af16ecdb75dd81051fd (patch) | |
tree | 05f64311f4e10ea80958587d71a312ef8c0c3f22 /libswscale | |
parent | eae58428bd199f7d4670bf471f56ed204430878e (diff) | |
download | ffmpeg-65db4899fa8790049bec3af16ecdb75dd81051fd.tar.gz |
mmaldec: refactor to have more context per MMAL input buffer
The next commit needs 1 bit of additional information per MMAL buffer
sent to the MMAL input port. This information will be needed when the
buffer is recycled (i.e. returned by the input port's callback).
Normally, we could use MMAL_BUFFER_HEADER_FLAG_USER0, but that is
unexpectedly not preserved.
Do this by storing a pointer to FFBufferEntry in the MMAL buffer's
user data, instead of an AVBufferRef. This also changes the lifetime
of FFBufferEntry.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libswscale')
0 files changed, 0 insertions, 0 deletions