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..9eccd0667b51de5c658f4a8edc4973d3445c2656 100644 |
| --- a/media/base/video_frame.cc |
| +++ b/media/base/video_frame.cc |
| @@ -223,7 +223,7 @@ scoped_refptr<VideoFrame> VideoFrame::WrapNativeTexture( |
| const gfx::Rect& visible_rect, |
| const gfx::Size& natural_size, |
| base::TimeDelta timestamp) { |
| - if (format != PIXEL_FORMAT_ARGB) { |
| + if (format != PIXEL_FORMAT_ARGB && format != PIXEL_FORMAT_UYVY) { |
| DLOG(ERROR) << "Only ARGB pixel format supported, got " |
|
Andre
2015/08/21 18:18:36
Update error string, maybe "Unsupported pixel form
Daniele Castagna
2015/08/21 18:49:01
Done.
|
| << VideoPixelFormatToString(format); |
| return nullptr; |