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

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

Issue 892383002: RELAND: [Cast] Software encoder support for varying video frame sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for 'access to uninitialized memory' error. Created 5 years, 11 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 | « media/cast/sender/external_video_encoder.cc ('k') | media/cast/sender/fake_software_video_encoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/fake_software_video_encoder.h
diff --git a/media/cast/sender/fake_software_video_encoder.h b/media/cast/sender/fake_software_video_encoder.h
index cf5769c857a55a5065745ecccc0ffd4caeff8532..0b00e03b5e609de3637a90fc0cfbe6058c02b373 100644
--- a/media/cast/sender/fake_software_video_encoder.h
+++ b/media/cast/sender/fake_software_video_encoder.h
@@ -7,6 +7,7 @@
#include "media/cast/cast_config.h"
#include "media/cast/sender/software_video_encoder.h"
+#include "ui/gfx/geometry/size.h"
namespace media {
namespace cast {
@@ -27,6 +28,7 @@ class FakeSoftwareVideoEncoder : public SoftwareVideoEncoder {
private:
VideoSenderConfig video_config_;
+ gfx::Size last_frame_size_;
bool next_frame_is_key_;
uint32 frame_id_;
uint32 frame_id_to_reference_;
« no previous file with comments | « media/cast/sender/external_video_encoder.cc ('k') | media/cast/sender/fake_software_video_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698