virtio: video: decoder: vaapi: fix build

https://crrev.com/c/3782034 replaced the event_pipe method of EventQueue
with an implementation of AsRawDescriptor. Somehow I forgot to update
the VAAPI decoder backend

BUG=b:214478588
TEST=cargo build --features "video-decoder,vaapi"
TEST=./tools/cargo-doc

Change-Id: I4e722d40693f764baf39c2ff4d020eb79c05f5a4
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3781836
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Tested-by: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
Alexandre Courbot 2022-07-28 11:54:45 +09:00 committed by crosvm LUCI
parent b1dec9172b
commit a87bb97d70

View file

@ -975,7 +975,7 @@ impl DecoderSession for VaapiDecoderSession {
}
fn event_pipe(&self) -> &dyn base::AsRawDescriptor {
self.event_queue.event_pipe()
&self.event_queue
}
fn use_output_buffer(