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

Unified Diff: media/base/mac/video_frame_mac_unittests.cc

Issue 1154153003: Relanding 1143663007: VideoFrame: Separate Pixel Format from Storage Type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added NV12 support in CrOS Created 5 years, 7 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/base/mac/video_frame_mac.cc ('k') | media/base/video_decoder_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mac/video_frame_mac_unittests.cc
diff --git a/media/base/mac/video_frame_mac_unittests.cc b/media/base/mac/video_frame_mac_unittests.cc
index 4a5953f373f285a095c2227fcf2082dcbcea1aa9..aa0379554851bcb56f1ce4edeafc8a763b55235e 100644
--- a/media/base/mac/video_frame_mac_unittests.cc
+++ b/media/base/mac/video_frame_mac_unittests.cc
@@ -61,9 +61,9 @@ TEST(VideoFrameMac, CheckBasicAttributes) {
}
TEST(VideoFrameMac, CheckFormats) {
+ // CreateFrame() does not support non planar YUV, e.g. NV12.
const FormatPair format_pairs[] = {
{VideoFrame::I420, kCVPixelFormatType_420YpCbCr8Planar},
-
{VideoFrame::YV12, 0},
{VideoFrame::YV16, 0},
{VideoFrame::YV12A, 0},
« no previous file with comments | « media/base/mac/video_frame_mac.cc ('k') | media/base/video_decoder_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698