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

Unified Diff: content/common/gpu/media/gpu_video_decode_accelerator.h

Issue 1541353002: Add offset support to BitstreamBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments and rebase Created 4 years, 9 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: content/common/gpu/media/gpu_video_decode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
index aa36bf17b64f5f3bb4b7fbce6346ab4adcb42fe6..ac9b1181de19d10abd28aabc265056f0314b88cc 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -109,6 +109,9 @@ class GpuVideoDecodeAccelerator
uint32_t texture_target,
scoped_refptr<gl::GLImage> image);
+ // Helper function to call NotifyError in the |child_task_runner_| thread.
+ void CallOrPostNotifyError(media::VideoDecodeAccelerator::Error error);
+
// Route ID to communicate with the host.
const int32_t host_route_id_;
« no previous file with comments | « content/common/gpu/media/android_video_encode_accelerator.cc ('k') | content/common/gpu/media/gpu_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698