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

Unified Diff: media/mf/mft_h264_decoder_example.cc

Issue 3335014: Added FakeGlVideoDecodeEngine to exercise the IPC protocol for hardware video decoding (Closed)
Patch Set: compile man... Created 10 years, 3 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/mf/mft_h264_decoder_example.cc
diff --git a/media/mf/mft_h264_decoder_example.cc b/media/mf/mft_h264_decoder_example.cc
index 0a10e07ec7f688840f010bbcbe2ac371d4237c6f..e1cc790fd8e18479ec4d2278076b9277c99b4ea3 100644
--- a/media/mf/mft_h264_decoder_example.cc
+++ b/media/mf/mft_h264_decoder_example.cc
@@ -148,7 +148,7 @@ class MftH264DecoderHandler
virtual void OnSeekComplete() {}
virtual void OnError() {}
virtual void OnFormatChange(VideoStreamInfo stream_info) {
- info_.stream_info_ = stream_info;
+ info_.stream_info = stream_info;
}
virtual void ProduceVideoSample(scoped_refptr<Buffer> buffer) {
if (reader_ && decoder_) {
@@ -284,8 +284,8 @@ static int Run(bool use_dxva, bool render, const std::string& input_file) {
LOG(WARNING) << "Failed to get width/height from reader";
}
VideoCodecConfig config;
- config.width_ = width;
- config.height_ = height;
+ config.width = width;
+ config.height = height;
HWND window = NULL;
if (render) {
window = CreateDrawWindow(width, height);

Powered by Google App Engine
This is Rietveld 408576698