commit | 491843085817ba9c5bc98f8d4087a1cc7ab4fad6 | [log] [tgz] |
---|---|---|
author | Hyunjun Ko <zzoon@igalia.com> | Thu Mar 08 11:39:25 2018 -0900 |
committer | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | Thu Mar 08 11:39:25 2018 -0900 |
tree | ce807a4f8eecb722e43b7b243af46bcc0d4fb806 | |
parent | 8a3630ffd74b40f089c9f9a36dce229839180e92 [diff] |
msdk: enc: fix missing some frames to be encoded There was not handling the end of encoding sequence in encoder. This patch does drain any remaining internal streams while decoder already does this. Document says: "To mark the end of the encoding sequence, call this function with a NULL surface pointer. Repeat the call to drain any remaining internally cached bitstreams—one frame at a time—until MFX_ERR_MORE_DATA is returned." https://bugzilla.gnome.org/show_bug.cgi?id=793236