mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 12:09:31 +00:00
devices: video: fix build
http://crrev.com/c/3911103 renamed a member of BufferInfo, but did not update the video code that uses it. BUG=b:3911103 TEST=cargo build --features "video-decoder,video-encoder,ffmpeg,vaapi,libvda" Change-Id: Icc8c5c2f564ea2fdaeee12abe57cfd29c8373a72 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3920255 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Auto-Submit: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
parent
db5bb70726
commit
980fb8896c
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ impl GuestResource {
|
||||||
// Safe because `buffer_info.file` is a valid file descriptor and we are stealing
|
// Safe because `buffer_info.file` is a valid file descriptor and we are stealing
|
||||||
// it.
|
// it.
|
||||||
desc: unsafe {
|
desc: unsafe {
|
||||||
SafeDescriptor::from_raw_descriptor(buffer_info.file.into_raw_descriptor())
|
SafeDescriptor::from_raw_descriptor(buffer_info.handle.into_raw_descriptor())
|
||||||
},
|
},
|
||||||
modifier: buffer_info.modifier,
|
modifier: buffer_info.modifier,
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue