media/gpu/v4l2: clear v4l2 devices from their main thread
The introduction of a sequence checker in V4L2Devices means that we need to be more careful about who destroys (i.e. who "owns") a given V4L2Device. Make sure the IP device is destroyed by the IP thread, and the decoder device by the decoder thread. Bug: 1003223 Test: vdatests passing on Kevin. Change-Id: I21d55163d5830b45afb882fcced2bd8cef069151 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1826300 Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#700086}
Showing
Please register or sign in to comment