| Index: media/base/video_frame.cc
|
| diff --git a/media/base/video_frame.cc b/media/base/video_frame.cc
|
| index 662d6aa1c59edc31bdc55eca32df81001d43ec85..ec70f36534199b622f40df961e5c308653033116 100644
|
| --- a/media/base/video_frame.cc
|
| +++ b/media/base/video_frame.cc
|
| @@ -223,7 +223,9 @@ scoped_refptr<VideoFrame> VideoFrame::WrapNativeTexture(
|
| const gfx::Rect& visible_rect,
|
| const gfx::Size& natural_size,
|
| base::TimeDelta timestamp) {
|
| - if (format != PIXEL_FORMAT_ARGB && format != PIXEL_FORMAT_UYVY) {
|
| + if (format != PIXEL_FORMAT_ARGB &&
|
| + format != PIXEL_FORMAT_UYVY &&
|
| + format != PIXEL_FORMAT_NV12) {
|
| DLOG(ERROR) << "Unsupported pixel format supported, got "
|
| << VideoPixelFormatToString(format);
|
| return nullptr;
|
|
|