| 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;
|
|
|