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

Unified Diff: media/cast/sender/vp8_encoder.h

Issue 1417873007: Resolve media/cast crypto crash, and add crash reporting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/cast/sender/vp8_encoder.h
diff --git a/media/cast/sender/vp8_encoder.h b/media/cast/sender/vp8_encoder.h
index 8888097ac41faa4c5e6dbe8d38714ba564e568c4..180fbf00489d33ce8159672d08d13b79b4552b3a 100644
--- a/media/cast/sender/vp8_encoder.h
+++ b/media/cast/sender/vp8_encoder.h
@@ -114,6 +114,11 @@ class Vp8Encoder : public SoftwareVideoEncoder {
// This is bound to the thread where Initialize() is called.
base::ThreadChecker thread_checker_;
+ // Set to true once a frame with zero-length encoded data has been
+ // encountered.
+ // TODO(miu): Remove after discovering cause. http://crbug.com/519022
+ bool has_seen_zero_length_encoded_frame_;
+
DISALLOW_COPY_AND_ASSIGN(Vp8Encoder);
};

Powered by Google App Engine
This is Rietveld 408576698