Chromium Code Reviews| Index: media/base/video_frame.cc |
| diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc |
| index 892cbe30b9fe8bc9193213b7c4a26749b1ad2cbd..662d6aa1c59edc31bdc55eca32df81001d43ec85 100644 |
| --- a/media/base/video_frame.cc |
| +++ b/media/base/video_frame.cc |
| @@ -223,8 +223,8 @@ scoped_refptr<VideoFrame> VideoFrame::WrapNativeTexture( |
| const gfx::Rect& visible_rect, |
| const gfx::Size& natural_size, |
| base::TimeDelta timestamp) { |
| - if (format != PIXEL_FORMAT_ARGB) { |
| - DLOG(ERROR) << "Only ARGB pixel format supported, got " |
| + if (format != PIXEL_FORMAT_ARGB && format != PIXEL_FORMAT_UYVY) { |
|
reveman
2015/08/21 21:53:03
why does this change?
Daniele Castagna
2015/08/21 22:46:04
We need to send a VideoFrame that contains one mai
reveman
2015/08/22 14:04:46
don't we sample out of this texture as if it was A
|
| + DLOG(ERROR) << "Unsupported pixel format supported, got " |
| << VideoPixelFormatToString(format); |
| return nullptr; |
| } |