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

Unified Diff: media/gpu/dxva_video_decode_accelerator_win.h

Issue 2746013006: use VideoColorSpace in decoder configuration (Closed)
Patch Set: win fixes Created 3 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
Index: media/gpu/dxva_video_decode_accelerator_win.h
diff --git a/media/gpu/dxva_video_decode_accelerator_win.h b/media/gpu/dxva_video_decode_accelerator_win.h
index 6422f63fe735f6b1134ce2faefefd190cf3169f9..fbd2299502e66f611b6a086479bc9f5ceca74757 100644
--- a/media/gpu/dxva_video_decode_accelerator_win.h
+++ b/media/gpu/dxva_video_decode_accelerator_win.h
@@ -32,6 +32,7 @@
#include "base/threading/thread.h"
#include "base/win/scoped_comptr.h"
#include "gpu/command_buffer/service/gpu_preferences.h"
+#include "media/base/video_color_space.h"
#include "media/filters/h264_parser.h"
#include "media/gpu/gpu_video_decode_accelerator_helpers.h"
#include "media/gpu/media_gpu_export.h"
@@ -73,7 +74,7 @@ class H264ConfigChangeDetector {
bool DetectConfig(const uint8_t* stream, unsigned int size);
bool config_changed() const { return config_changed_; }
- gfx::ColorSpace current_color_space() const;
+ VideoColorSpace current_color_space() const;
private:
// These fields are used to track the SPS/PPS in the H.264 bitstream and

Powered by Google App Engine
This is Rietveld 408576698