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

Unified Diff: content/common/gpu/client/gpu_video_decode_accelerator_host.cc

Issue 1541353002: Add offset support to BitstreamBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: content/common/gpu/client/gpu_video_decode_accelerator_host.cc
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
index 621d21077460947feedd6b18d842fb14ee1571c2..7c19a8bc6c682c164fd629b1713f12f04fd0122f 100644
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.cc
@@ -130,6 +130,7 @@ void GpuVideoDecodeAcceleratorHost::Decode(
params.bitstream_buffer_id = bitstream_buffer.id();
params.buffer_handle = handle;
params.size = bitstream_buffer.size();
+ params.offset = bitstream_buffer.offset();
params.presentation_timestamp = bitstream_buffer.presentation_timestamp();
params.key_id = bitstream_buffer.key_id();
params.iv = bitstream_buffer.iv();

Powered by Google App Engine
This is Rietveld 408576698