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

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: rebase over crrev.com/1645873002 Created 4 years, 10 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 1aff69b278f5782faaad05c065b26a55e207317a..bb6445f31da4810478d80c91d73082e6286c086f 100644
--- a/content/common/gpu/media/gpu_video_decode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
@@ -113,6 +113,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_;

Powered by Google App Engine
This is Rietveld 408576698