Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1504)

Unified Diff: media/gpu/video_decode_accelerator_unittest.cc

Issue 2272153002: Add ClientNativePixmap multi-planar support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-native-pixmap-dmabug-multiple-planes
Patch Set: s/cstddef/stddef.h Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/gpu/video_decode_accelerator_unittest.cc
diff --git a/media/gpu/video_decode_accelerator_unittest.cc b/media/gpu/video_decode_accelerator_unittest.cc
index 70bc43996f40dc79e361813002f678384b261332..aa905e71af65415ce0cf10aabe0bda8bbb299579 100644
--- a/media/gpu/video_decode_accelerator_unittest.cc
+++ b/media/gpu/video_decode_accelerator_unittest.cc
@@ -372,7 +372,7 @@ gfx::GpuMemoryBufferHandle TextureRef::ExportGpuMemoryBufferHandle() const {
handle.native_pixmap_handle.fds.emplace_back(
base::FileDescriptor(duped_fd, true));
handle.native_pixmap_handle.planes.emplace_back(
- pixmap_->GetDmaBufPitch(0), pixmap_->GetDmaBufOffset(0),
+ pixmap_->GetDmaBufPitch(0), pixmap_->GetDmaBufOffset(0), 0,
pixmap_->GetDmaBufModifier(0));
#endif
return handle;

Powered by Google App Engine
This is Rietveld 408576698