media/gpu/vaapi/VaapiDmabufVFMapper: Make a mapped frame outlive a source video frame
A VideoFrame mapped by the VaapiDmabufVideoFrameMapper holds a VAImage created from the source VideoFrame. The VA surface associated the source video frame should not be released until the mapped video frame is destroyed, so we bind a reference to the source video frame to the mapped video frame's destructor. Bug: 1020776 Test: VD test on atlas Change-Id: Ia0b01b4bcb3e4312c0c2e91f8ad8c8beae20f393 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1911342 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:David Staessens <dstaessens@chromium.org> Cr-Commit-Position: refs/heads/master@{#714807}
Showing
Please register or sign in to comment