| Index: media/gpu/vaapi_wrapper.cc
|
| diff --git a/media/gpu/vaapi_wrapper.cc b/media/gpu/vaapi_wrapper.cc
|
| index 5146f43651a082ba795c3cd2dcc152fa4527ee3b..25fbd11ad5318bd29ddb26135b937fe43cf62330 100644
|
| --- a/media/gpu/vaapi_wrapper.cc
|
| +++ b/media/gpu/vaapi_wrapper.cc
|
| @@ -74,6 +74,8 @@ uint32_t BufferFormatToVAFourCC(gfx::BufferFormat fmt) {
|
| return VA_FOURCC_UYVY;
|
| case gfx::BufferFormat::YVU_420:
|
| return VA_FOURCC_YV12;
|
| + case gfx::BufferFormat::YUV_420_BIPLANAR:
|
| + return VA_FOURCC_NV12;
|
| default:
|
| NOTREACHED();
|
| return 0;
|
| @@ -88,6 +90,7 @@ uint32_t BufferFormatToVARTFormat(gfx::BufferFormat fmt) {
|
| case gfx::BufferFormat::BGRA_8888:
|
| return VA_RT_FORMAT_RGB32;
|
| case gfx::BufferFormat::YVU_420:
|
| + case gfx::BufferFormat::YUV_420_BIPLANAR:
|
| return VA_RT_FORMAT_YUV420;
|
| default:
|
| NOTREACHED();
|
|
|