vlc | branch: master | Thomas Guillem <[email protected]> | Mon Dec 14 18:41:44 2015 +0100| [b69e157172e767a02295266c37dd5a0557215fa1] | committer: Thomas Guillem
mediacodec: implement drain When draining (pp_block == NULL), queue a dummy input buffer with a EOS flag, and wait for the output thread to process all output frames. This patch also add extra check when processing output buffers. Indeed, in some case, the last output buffer with a EOS flag can be invalid. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b69e157172e767a02295266c37dd5a0557215fa1 --- modules/codec/omxil/mediacodec.c | 156 ++++++++++++++++++++++++---------- modules/codec/omxil/mediacodec.h | 1 + modules/codec/omxil/mediacodec_jni.c | 26 ++++-- modules/codec/omxil/mediacodec_ndk.c | 8 +- 4 files changed, 138 insertions(+), 53 deletions(-) Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=b69e157172e767a02295266c37dd5a0557215fa1 _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
