~misterc/libva/Trunk

Viewing all changes in revision 950.

  • Committer: Xiang, Haihao
  • Date: 2017-01-09 05:30:29 UTC
  • Revision ID: git-v1:3eb038aa13bdd785808286c0a4995bd7a1ef07e9
Don't automatically destroy the buffer(s) passed to vaRenderPicture

Instead the user must call vaDestroyBuffer() to destroy a buffer explicitly.

If following the previous API specification,
1. Violate "who allocate who release" principle
2. The user cannot re-use VA buffer flexibly
3. The user still has to call vaDestroyBuffer() to destroy the buffers which
   are not going to be passed to vaRenderPicture()

We discussed the change at https://bugs.freedesktop.org/show_bug.cgi?id=97970

v2: bump version to 0.40 because this is a incompatible change to VA-API

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: