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

Unified Diff: media/filters/h264_parser.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/filters/h264_parser.h
diff --git a/media/filters/h264_parser.h b/media/filters/h264_parser.h
index e45adef6bd753f7545192efcd33de7b8420d5316..07e6bff5cabb2096ea34d5ed5e7bba83cdb00a5f 100644
--- a/media/filters/h264_parser.h
+++ b/media/filters/h264_parser.h
@@ -20,8 +20,8 @@
#include "media/base/media_export.h"
#include "media/base/ranges.h"
#include "media/base/video_codecs.h"
+#include "media/base/video_color_space.h"
#include "media/filters/h264_bit_reader.h"
-#include "ui/gfx/color_space.h"
namespace gfx {
class Rect;
@@ -188,7 +188,7 @@ struct MEDIA_EXPORT H264SPS {
// the results are in-spec for the given profile or level.
base::Optional<gfx::Size> GetCodedSize() const;
base::Optional<gfx::Rect> GetVisibleRect() const;
- gfx::ColorSpace GetColorSpace() const;
+ VideoColorSpace GetColorSpace() const;
};
struct MEDIA_EXPORT H264PPS {

Powered by Google App Engine
This is Rietveld 408576698