media/gpu/v4l2(s)vda: remove (e)gl_image_device member
This member is only used in one method, and its initialization is very simple: image processor if present, otherwise decoder. So perform this choice in the method where it is actually used instead of carrying this member for the whole life of the decoder and making sure it is updated properly, at the risk of introducing bugs. BUG=None TEST=Video playback working on Hana. Change-Id: I52e23fae9edb057ed618c2da0834f60ae88fccf4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2002249 Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Auto-Submit: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Reviewed-by:
David Staessens <dstaessens@chromium.org> Cr-Commit-Position: refs/heads/master@{#732242}
Showing
Please register or sign in to comment