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

Unified Diff: content/renderer/media/webmediaplayer_ms.cc

Issue 2512383002: Fix uninitialized media::VideoRotation variable issue (Closed)
Patch Set: Created 4 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webmediaplayer_ms.cc
diff --git a/content/renderer/media/webmediaplayer_ms.cc b/content/renderer/media/webmediaplayer_ms.cc
index 548e39bfe18aed1208be5076d5a7ecce7dbc8c15..8d833ee750ef40b9b4dcdf54daab43e1138d00d9 100644
--- a/content/renderer/media/webmediaplayer_ms.cc
+++ b/content/renderer/media/webmediaplayer_ms.cc
@@ -84,7 +84,7 @@ class WebMediaPlayerMS::FrameDeliverer {
if (!received_first_frame_) {
received_first_frame_ = true;
last_frame_opaque_ = is_opaque;
- media::VideoRotation video_rotation;
+ media::VideoRotation video_rotation = media::VIDEO_ROTATION_0;
ignore_result(frame->metadata()->GetRotation(
media::VideoFrameMetadata::ROTATION, &video_rotation));
main_task_runner_->PostTask(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698