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

Unified Diff: media/gpu/v4l2_video_decode_accelerator.cc

Issue 2382113002: Use clearer names for the PictureBuffer texture id members (Closed)
Patch Set: Added comments Created 4 years, 2 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
« no previous file with comments | « media/gpu/v4l2_slice_video_decode_accelerator.cc ('k') | media/gpu/vaapi_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/v4l2_video_decode_accelerator.cc
diff --git a/media/gpu/v4l2_video_decode_accelerator.cc b/media/gpu/v4l2_video_decode_accelerator.cc
index 86a73cc53abd88f953fe7226a31b6e94225cfa7d..5ed8323019806ed406246cfb8bf19c828ddb80f6 100644
--- a/media/gpu/v4l2_video_decode_accelerator.cc
+++ b/media/gpu/v4l2_video_decode_accelerator.cc
@@ -377,11 +377,11 @@ void V4L2VideoDecodeAccelerator::AssignPictureBuffersTask(
DCHECK_EQ(output_record.egl_sync, EGL_NO_SYNC_KHR);
DCHECK_EQ(output_record.picture_id, -1);
DCHECK_EQ(output_record.cleared, false);
- DCHECK_EQ(1u, buffers[i].texture_ids().size());
+ DCHECK_EQ(1u, buffers[i].service_texture_ids().size());
DCHECK(output_record.processor_input_fds.empty());
output_record.picture_id = buffers[i].id();
- output_record.texture_id = buffers[i].texture_ids()[0];
+ output_record.texture_id = buffers[i].service_texture_ids()[0];
// This will remain kAtClient until ImportBufferForPicture is called, either
// by the client, or by ourselves, if we are allocating.
output_record.state = kAtClient;
« no previous file with comments | « media/gpu/v4l2_slice_video_decode_accelerator.cc ('k') | media/gpu/vaapi_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698