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

Unified Diff: media/base/video_frame.cc

Issue 2636433003: [NotForReview] Enable YUV video overlay on Skylake ChromeOS.
Patch Set: Created 3 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 | « gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame.cc
diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc
index d2808356111d86c56b19644a2f6a51d602c4ca2b..4f5ad4fb16ff8dae407fc857c879dfad44bca24a 100644
--- a/media/base/video_frame.cc
+++ b/media/base/video_frame.cc
@@ -202,8 +202,8 @@ scoped_refptr<VideoFrame> VideoFrame::WrapNativeTextures(
const gfx::Size& natural_size,
base::TimeDelta timestamp) {
if (format != PIXEL_FORMAT_ARGB && format != PIXEL_FORMAT_XRGB &&
- format != PIXEL_FORMAT_UYVY && format != PIXEL_FORMAT_NV12 &&
- format != PIXEL_FORMAT_I420) {
+ format != PIXEL_FORMAT_UYVY && format != PIXEL_FORMAT_YUY2 &&
+ format != PIXEL_FORMAT_NV12 && format != PIXEL_FORMAT_I420) {
LOG(DFATAL) << "Unsupported pixel format supported, got "
<< VideoPixelFormatToString(format);
return nullptr;
« no previous file with comments | « gpu/ipc/client/gpu_memory_buffer_impl_shared_memory.cc ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698