media/gpu/vaapiVEA: Fix a wrong check on a return value of CreateContextAndSurfaces
crrev.com/c/1847432 introduced the bug that VaapiWrapper is destroyed when VaapiWrapper::CreateContextAndSurfaces is successful. This CL fixes the wrong check on the return value. Bug: 1009297, 1005205 Test: https://appr.tc/?debug=loopback&vsc=vp8&video=maxWidth=640,maxHeight=360,minWidth=640,minHeight=360&debug=loopback Change-Id: I9a31b305c991cee5e28139d307f87430c20b45e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1862880Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Reviewed-by:
Ricky Liang <jcliang@chromium.org> Auto-Submit: Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#706287}
Showing
Please register or sign in to comment