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

Unified Diff: content/renderer/media/rtc_video_decoder.h

Issue 1817573004: Handle HW decode failures in RTCVideoDecoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_video_decoder.h
diff --git a/content/renderer/media/rtc_video_decoder.h b/content/renderer/media/rtc_video_decoder.h
index e562ba8dca45aea5831babac91eb940b92d6ae28..fedb941f257c185e9f2a5312a423805300fb6e44 100644
--- a/content/renderer/media/rtc_video_decoder.h
+++ b/content/renderer/media/rtc_video_decoder.h
@@ -208,6 +208,11 @@ class CONTENT_EXPORT RTCVideoDecoder
// The hardware video decoder.
scoped_ptr<media::VideoDecodeAccelerator> vda_;
+ media::VideoCodecProfile vda_codec_profile_;
+
+ // Number of times that |vda_| notified of an error.
+ uint32_t num_vda_errors_;
+
// The video codec type, as reported by WebRTC.
const webrtc::VideoCodecType video_codec_type_;
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698