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

Unified Diff: media/filters/gpu_video_decoder.h

Issue 10248002: Report VideoDecoder status through ReadCB instead of through FilterHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/filters/gpu_video_decoder.h
diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h
index c578f5aa5c678c71ddfcec0d7ec11b41fae25d03..9ace2e7696dc3dfa71f599f590fb3c4d02da1b26 100644
--- a/media/filters/gpu_video_decoder.h
+++ b/media/filters/gpu_video_decoder.h
@@ -208,6 +208,9 @@ class MEDIA_EXPORT GpuVideoDecoder
// this class not require the render thread's loop to be processing.
bool shutting_down_;
+ // Number of pending decoding errors to be passed through ReadCB.
+ int pending_error_count_;
+
DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder);
};

Powered by Google App Engine
This is Rietveld 408576698